use crate::conv::BoundsUnfit;
#[derive(Debug, Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Hash)]
pub(crate) enum Error {
Overflow,
Unorderd,
StartUnbounded,
EndUnbounded,
BoundsUnfit(BoundsUnfit),
}
impl From<BoundsUnfit> for Error {
fn from(value: BoundsUnfit) -> Self {
Self::BoundsUnfit(value)
}
}