namespace LibGit2Sharp.Core
{
internal enum GitErrorCode
{
Ok = 0,
Error = -1,
///
/// Input does not exist in the scope searched.
///
NotFound = -3,
///
/// Input already exists in the processed scope.
///
Exists = -4,
///
/// The given short oid is ambiguous.
///
Ambiguous = -5,
///
/// Buffer related issue.
///
Buffer = -6,
///
/// Callback error.
///
User = -7,
///
/// Operation cannot be performed against a bare repository.
///
BareRepo = -8,
///
/// Operation cannot be performed against an orphaned HEAD.
///
OrphanedHead = -9,
///
/// Operation cannot be performed against a not fully merged index.
///
UnmergedEntries = -10,
///
/// Push cannot be performed against the remote without losing commits.
///
NonFastForward = -11,
///
/// Input is not a valid specification.
///
InvalidSpecification = -12,
///
/// A conflicting change has been detected in the index
/// or working directory.
///
Conflict = -13,
///
/// A file operation failed because the file was locked.
///
LockedFile = -14,
///
/// Reference value does not match expected.
///
Modified = -15,
///
/// Authentication error.
///
Auth = -16,
///
/// Server certificate is invalid.
///
Certificate = -17,
///
/// Patch/merge has already been applied.
///
Applied = -18,
///
/// The requested peel operation is not possible.
///
Peel = -19,
///
/// Unexpected EOF.
///
EndOfFile = -20,
///
/// Invalid operation or input.
///
Invalid = -21,
///
/// Uncommitted changes in index prevented operation.
///
Uncommitted = -22,
///
/// The operation is not valid for a directory.
///
Directory = -23,
///
/// A merge conflict exists and cannot continue
///
MergeConflict = -24,
///
/// Skip and passthrough the given ODB backend.
///
PassThrough = -30,
///
/// There are no more entries left to iterate.
///
IterOver = -31,
///
/// Internal-only.
///
Retry = -32,
///
/// A retrieved object did not match its expected ID.
///
Mismatch = -33,
}
}