Enum git_topic_stage::ErrorKind
[−]
pub enum ErrorKind { Msg(String), GitWorkarea(ErrorKind), InvalidIntegrationBranch(CommitId, InvalidCommitReason), CannotUnstageBase, Git(String), DateParse, IdParse, }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
GitWorkarea(ErrorKind)
An error from the git-workarea crate.
InvalidIntegrationBranch(CommitId, InvalidCommitReason)
The stager was given a branch to manage which is not a valid integration branch.
CannotUnstageBase
The base of the integration branch may not be unstaged.
Git(String)
An error occurred when executing git commands.
DateParse
An error occurred when parsing a date.
IdParse
An error occurred when parsing a topic id.
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.
Trait Implementations
impl Debug for ErrorKind
impl Display for ErrorKind
impl From<ErrorKind> for ErrorKind
An error from the git-workarea crate.