]>
git.proxmox.com Git - rustc.git/blob - vendor/gix/src/object/errors.rs
4 /// The error returned by [`crate::object::try_to_()`][crate::Object::try_to_commit_ref()].
5 #[derive(Debug, thiserror::Error)]
9 Decode(#[from] gix_object::decode::Error),
10 #[error("Expected object type {}, but got {}", .expected, .actual)]
12 expected
: gix_object
::Kind
,
13 actual
: gix_object
::Kind
,
20 /// Indicate that an error occurred when trying to find an object.
21 pub type Error
= gix_odb
::store
::find
::Error
;
25 /// An object could not be found in the database, or an error occurred when trying to obtain it.
26 pub type Error
= gix_odb
::find
::existing
::Error
<gix_odb
::store
::find
::Error
>;
32 /// An error to indicate writing to the loose object store failed.
33 pub type Error
= gix_odb
::store
::write
::Error
;