#[derive(thiserror::Error, Debug)]
pub(crate) enum Error {
#[error(
"workflow cannot contain duplicate tasks: use a nonce (nnc field) to ensure uniqueness"
)]
DuplicateTask,
#[error("Schedule could not be generated from workflow: {0}")]
InvalidSchedule(String),
#[error(transparent)]
AoT(#[from] anyhow::Error),
}