pub enum FindChangelogError {
MissingChangelog(Vec<PathBuf>),
AddChangelog(PathBuf),
ChangelogParseError(String),
BrzError(Error),
}Expand description
Error type for find_changelog
Variants§
MissingChangelog(Vec<PathBuf>)
No changelog found in the given files
AddChangelog(PathBuf)
Add a changelog at the given file
ChangelogParseError(String)
Error parsing the changelog
BrzError(Error)
Error from breezyshim
Trait Implementations§
Source§impl Debug for FindChangelogError
impl Debug for FindChangelogError
Source§impl Display for FindChangelogError
impl Display for FindChangelogError
Source§impl Error for FindChangelogError
impl Error for FindChangelogError
1.30.0 · 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()
Auto Trait Implementations§
impl !Freeze for FindChangelogError
impl !RefUnwindSafe for FindChangelogError
impl Send for FindChangelogError
impl Sync for FindChangelogError
impl Unpin for FindChangelogError
impl !UnwindSafe for FindChangelogError
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
Source§impl<E> Fail for E
impl<E> Fail for E
Source§fn cause(&self) -> Option<&(dyn Fail + 'static)>
fn cause(&self) -> Option<&(dyn Fail + 'static)>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace carried by this failure, if it
carries one. Read more