use thiserror::Error;
#[derive(Debug, Error)]
pub enum BundleError {
#[error("deployment '{0}' not found in config")]
DeploymentNotFound(String),
#[error("deployment '{0}' is not an MCP deployment")]
NotMcpDeployment(String),
#[error("deployment '{0}' has no public URL — set azure.container_app.url or pass --url")]
NoPublicUrl(String),
}
#[derive(Debug, Error)]
pub enum TargetError {
#[error("I/O error writing bundle: {0}")]
Io(#[from] std::io::Error),
}