pub enum Error {
Show 29 variants
Stdin,
Stdout(String),
GpgError(String),
EnvVarBranchNotSet,
EnvVarBranchNotFound,
EnvVarPullRequestNotSet,
EnvVarPullRequestNotFound,
NoUnreleasedSection,
CommandNotSet,
TagNotFound(String),
InvalidVersion(String),
DefaultChangeLogNotSet,
InvalidPath(OsString),
InvalidRegex,
KeepAChangelog(String),
NoGitHubAPIPrivateKey,
NoGitHubAPIAuth,
OnDefaultBranch,
UknownPullRequestFormat(String),
NoChangeLogFileFound,
ParseInt(ParseIntError),
Octocrate(Error),
UrlParse(ParseError),
Git2(Error),
EnvVar(VarError),
IO(Error),
Utf8(Utf8Error),
Config(ConfigError),
Regex(Error),
}Variants§
Stdin
Unable to acquire the child process’ standard input to write the commit data for signing
Stdout(String)
Unable to retrieve the signed data from the child process
GpgError(String)
EnvVarBranchNotSet
EnvVarBranchNotFound
EnvVarPullRequestNotSet
EnvVarPullRequestNotFound
NoUnreleasedSection
CommandNotSet
TagNotFound(String)
InvalidVersion(String)
DefaultChangeLogNotSet
InvalidPath(OsString)
InvalidRegex
KeepAChangelog(String)
NoGitHubAPIPrivateKey
NoGitHubAPIAuth
OnDefaultBranch
UknownPullRequestFormat(String)
NoChangeLogFileFound
ParseInt(ParseIntError)
Octocrate(Error)
UrlParse(ParseError)
Git2(Error)
EnvVar(VarError)
IO(Error)
Utf8(Utf8Error)
Config(ConfigError)
Regex(Error)
Trait Implementations§
source§impl Error for Error
impl Error for Error
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ConfigError> for Error
impl From<ConfigError> for Error
source§fn from(source: ConfigError) -> Self
fn from(source: ConfigError) -> Self
Converts to this type from the input type.
source§impl From<Error> for Error
impl From<Error> for Error
source§fn from(source: RegexError) -> Self
fn from(source: RegexError) -> Self
Converts to this type from the input type.
source§impl From<ParseError> for Error
impl From<ParseError> for Error
source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for Error
impl From<ParseIntError> for Error
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more