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.
CannotUnstageBaseThe base of the integration branch may not be unstaged.
Git(String)An error occurred when executing git commands.
DateParseAn error occurred when parsing a date.
IdParseAn 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.
fn from(e: ErrorKind) -> Self
Performs the conversion.