pub enum ExtendedError {
DirectoryOrFile(DirectoryOrFileError),
AspectFile(AspectError),
}Expand description
Represents errors that can occur during extended parsing operations.
This includes filesystem errors and aspect initialization errors.
Variants§
DirectoryOrFile(DirectoryOrFileError)
Error while parsing directory or file.
AspectFile(AspectError)
Error while parsing the aspect file.
Trait Implementations§
Source§impl Debug for ExtendedError
impl Debug for ExtendedError
Source§impl Display for ExtendedError
impl Display for ExtendedError
Source§impl Error for ExtendedError
impl Error for ExtendedError
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<AspectError> for ExtendedError
impl From<AspectError> for ExtendedError
Source§fn from(source: AspectError) -> Self
fn from(source: AspectError) -> Self
Converts to this type from the input type.
Source§impl From<DirectoryOrFileError> for ExtendedError
impl From<DirectoryOrFileError> for ExtendedError
Source§fn from(source: DirectoryOrFileError) -> Self
fn from(source: DirectoryOrFileError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ExtendedError
impl RefUnwindSafe for ExtendedError
impl Send for ExtendedError
impl Sync for ExtendedError
impl Unpin for ExtendedError
impl UnwindSafe for ExtendedError
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