Enum git_ref::file::transaction::prepare::Error [−][src]
pub enum Error {
Packed(Error),
PackedTransactionAcquire(Error),
PackedTransactionPrepare(Error),
PackedFind(Error),
PreprocessingFailed(Error),
LockAcquire {
err: Error,
full_name: BString,
},
Io(Error),
DeleteReferenceMustExist {
full_name: BString,
},
MustNotExist {
full_name: BString,
actual: Target,
new: Target,
},
MustExist {
full_name: BString,
expected: Target,
},
ReferenceOutOfDate {
full_name: BString,
expected: Target,
actual: Target,
},
ReferenceDecode(Error),
}Expand description
The error returned by various Transaction methods.
Variants
Packed(Error)Tuple Fields of Packed
0: ErrorPackedTransactionAcquire(Error)Tuple Fields of PackedTransactionAcquire
0: ErrorPackedTransactionPrepare(Error)Tuple Fields of PackedTransactionPrepare
0: ErrorPackedFind(Error)Tuple Fields of PackedFind
0: ErrorPreprocessingFailed(Error)Tuple Fields of PreprocessingFailed
0: ErrorFields of LockAcquire
err: Errorfull_name: BStringIo(Error)Tuple Fields of Io
0: ErrorFields of MustExist
full_name: BStringexpected: TargetReferenceDecode(Error)Tuple Fields of ReferenceDecode
0: Error