Enum git2::ErrorCode
[−]
[src]
pub enum ErrorCode {
GenericError,
NotFound,
Exists,
Ambiguous,
BufSize,
User,
BareRepo,
UnbornBranch,
Unmerged,
NotFastForward,
InvalidSpec,
Conflict,
Locked,
Modified,
Auth,
Certificate,
Applied,
Peel,
Eof,
Invalid,
Uncommitted,
Directory,
}An enumeration of possible errors that can happen when working with a git repository.
Variants
GenericErrorGeneric error
NotFoundRequested object could not be found
ExistsObject exists preventing operation
AmbiguousMore than one object matches
BufSizeOutput buffer too short to hold data
UserUser-generated error
BareRepoOperation not allowed on bare repository
UnbornBranchHEAD refers to branch with no commits
UnmergedMerge in progress prevented operation
NotFastForwardReference was not fast-forwardable
InvalidSpecName/ref spec was not in a valid format
ConflictCheckout conflicts prevented operation
LockedLock file prevented operation
ModifiedReference value does not match expected
AuthAuthentication error
CertificateServer certificate is invalid
AppliedPatch/merge has already been applied
PeelThe requested peel operation is not possible
EofUnexpected EOF
InvalidInvalid operation or input
UncommittedUncommitted changes in index prevented operation
DirectoryOperation was not valid for a directory,
Trait Implementations
impl Copy for ErrorCode[src]
impl Debug for ErrorCode[src]
impl Clone for ErrorCode[src]
fn clone(&self) -> ErrorCode
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more