Enum git2::ErrorClass
[−]
[src]
pub enum ErrorClass {
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,
}An enumeration of possible categories of things that can have errors when working with a git repository.
Variants
NoneUncategorized
NoMemoryOut of memory or insufficient allocated space
OsSyscall or standard system library error
InvalidInvalid input
ReferenceError resolving or manipulating a reference
ZlibZLib failure
RepositoryBad repository state
ConfigBad configuration
RegexRegex failure
OdbBad object
IndexInvalid index data
ObjectError creating or obtaining an object
NetNetwork error
TagError manpulating a tag
TreeInvalid value in tree
IndexerHashing or packing error
SslError from SSL
SubmoduleError involing submodules
ThreadThreading error
StashError manipulating a stash
CheckoutCheckout failure
FetchHeadInvalid FETCH_HEAD
MergeMerge failure
SshSSH failure
FilterError manipulating filters
RevertError reverting commit
CallbackError from a user callback
CherryPickError cherry-picking commit
DescribeCan't describe object
RebaseError during rebase
FilesystemFilesystem-related error
Trait Implementations
impl Copy for ErrorClass[src]
impl Debug for ErrorClass[src]
impl Clone for ErrorClass[src]
fn clone(&self) -> ErrorClass
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