Enum git_whennes::error::Error[][src]

pub enum Error {
    NoMergeCommit {
        for: String,
    },
    PicoArgsError(Error),
    FindCommitError {
        sha: String,
        source: Error,
    },
    GraphDescendantOfError {
        commit: String,
        ancestory: String,
        source: Error,
    },
    RevParseError {
        sha: String,
        source: Error,
    },
    ExpectedCommitError {
        sha: String,
    },
    FindRemoteError {
        remote: String,
        source: Error,
    },
    Git2Error(Error),
}

Variants

NoMergeCommit

Fields of NoMergeCommit

for: String
PicoArgsError(Error)

Tuple Fields of PicoArgsError

0: Error
FindCommitError

Fields of FindCommitError

sha: Stringsource: Error
GraphDescendantOfError

Fields of GraphDescendantOfError

commit: Stringancestory: Stringsource: Error
RevParseError

Fields of RevParseError

sha: Stringsource: Error
ExpectedCommitError

Fields of ExpectedCommitError

sha: String
FindRemoteError

Fields of FindRemoteError

remote: Stringsource: Error
Git2Error(Error)

Tuple Fields of Git2Error

0: Error

Trait Implementations

Formats the value using the given formatter. Read more

Formats the value using the given formatter. Read more

The lower-level source of this error, if any. Read more

👎 Deprecated since 1.33.0:

replaced by Error::source, which can support downcasting

🔬 This is a nightly-only experimental API. (backtrace)

Returns a stack backtrace, if available, of where this error occurred. Read more

👎 Deprecated since 1.42.0:

use the Display impl or to_string()

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Converts the given value to a String. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.