use core::fmt::Display;
#[derive(Debug)]
pub enum VarZeroVecFormatError {
Metadata,
Values(crate::ule::UleError),
}
impl core::error::Error for VarZeroVecFormatError {}
impl Display for VarZeroVecFormatError {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
match self {
Self::Metadata => write!(f, "VarZeroVecFormatError: metadata"),
Self::Values(e) => write!(f, "VarZeroVecFormatError: {e}"),
}
}
}