pub mod conversion {
#[derive(Debug, thiserror::Error)]
#[allow(missing_docs)]
pub enum Error {
#[error(transparent)]
Decode(#[from] gix_object::decode::Error),
#[error("Expected object type {}, but got {}", .expected, .actual)]
UnexpectedType {
expected: gix_object::Kind,
actual: gix_object::Kind,
},
}
}
pub mod find {
#[derive(Debug, thiserror::Error)]
#[error(transparent)]
pub struct Error(#[from] pub gix_odb::find::Error);
pub mod existing {
pub type Error = gix_odb::find::existing::Error;
}
}
pub mod write {
#[derive(Debug, thiserror::Error)]
#[error(transparent)]
pub struct Error(#[from] pub gix_odb::find::Error);
}