Enum git_topic_stage::ErrorKind []

pub enum ErrorKind {
    Msg(String),
    GitWorkarea(ErrorKind),
    InvalidIntegrationBranch(CommitIdInvalidCommitReason),
    CannotUnstageBase,
    Git(String),
    DateParse,
    IdParse,
}

The kind of an error.

Variants

A convenient variant for String.

An error from the git-workarea crate.

The stager was given a branch to manage which is not a valid integration branch.

The base of the integration branch may not be unstaged.

An error occurred when executing git commands.

An error occurred when parsing a date.

An error occurred when parsing a topic id.

Methods

impl ErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for ErrorKind

Formats the value using the given formatter.

impl Display for ErrorKind

Formats the value using the given formatter. Read more

impl From<ErrorKind> for ErrorKind

An error from the git-workarea crate.

Performs the conversion.

impl<'a> From<&'a str> for ErrorKind

Performs the conversion.

impl From<String> for ErrorKind

Performs the conversion.

impl From<Error> for ErrorKind

Performs the conversion.