#[derive(Debug, thiserror::Error)]
pub enum OrchestratorError {
#[error("no eligible nodes for placement: {reason}")]
NoEligibleNodes { reason: String },
#[error("spec already exists: {label}")]
SpecAlreadyExists { label: String },
#[error("spec not found: {label}")]
SpecNotFound { label: String },
#[error("not the current leader")]
NotLeader,
}