pub enum OverallError {
BrzError(Error),
NotDebianPackage(PathBuf),
Other(String),
Python(PyErr),
NoWhoami,
NoChanges,
GeneratedFile(PathBuf),
FormattingUnpreservable(PathBuf),
}Variants§
BrzError(Error)
NotDebianPackage(PathBuf)
Other(String)
Python(PyErr)
NoWhoami
NoChanges
GeneratedFile(PathBuf)
FormattingUnpreservable(PathBuf)
Trait Implementations§
Source§impl Debug for OverallError
impl Debug for OverallError
Source§impl Display for OverallError
impl Display for OverallError
Source§impl Error for OverallError
impl Error for OverallError
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()
Source§impl From<ChangelogError> for OverallError
impl From<ChangelogError> for OverallError
Source§fn from(e: ChangelogError) -> Self
fn from(e: ChangelogError) -> Self
Converts to this type from the input type.
Source§impl From<EditorError> for OverallError
impl From<EditorError> for OverallError
Source§fn from(e: EditorError) -> Self
fn from(e: EditorError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !Freeze for OverallError
impl !RefUnwindSafe for OverallError
impl Send for OverallError
impl Sync for OverallError
impl Unpin for OverallError
impl !UnwindSafe for OverallError
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