#[derive(Debug, thiserror::Error)]
#[non_exhaustive]
pub enum Error {
#[error(
"schedule entries must be strictly increasing by planned_start: \
previous entry starts at {prev}, new entry starts at {next}"
)]
OutOfOrder {
prev: u64,
next: u64,
},
#[error(transparent)]
SpliceConditioning(#[from] ssai_runtime::Error),
}
pub type Result<T> = core::result::Result<T, Error>;