Enum git2::ErrorClass [−][src]
pub enum ErrorClass {
Show 31 variants
None,
NoMemory,
Os,
Invalid,
Reference,
Zlib,
Repository,
Config,
Regex,
Odb,
Index,
Object,
Net,
Tag,
Tree,
Indexer,
Ssl,
Submodule,
Thread,
Stash,
Checkout,
FetchHead,
Merge,
Ssh,
Filter,
Revert,
Callback,
CherryPick,
Describe,
Rebase,
Filesystem,
}
Expand description
An enumeration of possible categories of things that can have errors when working with a git repository.
Variants
Uncategorized
Out of memory or insufficient allocated space
Syscall or standard system library error
Invalid input
Error resolving or manipulating a reference
ZLib failure
Bad repository state
Bad configuration
Regex failure
Bad object
Invalid index data
Error creating or obtaining an object
Network error
Error manpulating a tag
Invalid value in tree
Hashing or packing error
Error from SSL
Error involing submodules
Threading error
Error manipulating a stash
Checkout failure
Invalid FETCH_HEAD
Merge failure
SSH failure
Error manipulating filters
Error reverting commit
Error from a user callback
Error cherry-picking commit
Can’t describe object
Error during rebase
Filesystem-related error
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorClass
impl Send for ErrorClass
impl Sync for ErrorClass
impl Unpin for ErrorClass
impl UnwindSafe for ErrorClass
Blanket Implementations
Mutably borrows from an owned value. Read more