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

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

impl PartialEq for ErrorClass
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

1.0.0
[src]

This method tests for !=.

impl Eq for ErrorClass
[src]

impl Clone for ErrorClass
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for ErrorClass
[src]

[src]

Formats the value using the given formatter.

impl Copy for ErrorClass
[src]