pub enum EumdError {
Parse(String),
Document(ParseError),
ReferenceErrors(Vec<ReferenceError>),
}Expand description
Errors that can occur during eumd document processing
Variants§
Parse(String)
Parse error from eure-parol
Document(ParseError)
Document parsing error
ReferenceErrors(Vec<ReferenceError>)
Reference check errors
Trait Implementations§
Source§impl Error for EumdError
impl Error for EumdError
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<ParseError> for EumdError
impl From<ParseError> for EumdError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for EumdError
impl RefUnwindSafe for EumdError
impl Send for EumdError
impl Sync for EumdError
impl Unpin for EumdError
impl UnwindSafe for EumdError
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> Context<TracedError> for Ewhere
E: AnyError,
impl<E> Context<TracedError> for Ewhere
E: AnyError,
Source§fn context<C>(self, context: C) -> TracedError
fn context<C>(self, context: C) -> TracedError
Adds additional context. This becomes a no-op if the
traced feature is disabled.Source§fn with_context<F, C>(self, context: F) -> TracedError
fn with_context<F, C>(self, context: F) -> TracedError
Lazily adds additional context. This becomes a no-op if the
traced feature is disabled.Source§impl<E1, E2> IntoTraced<TracedError<E2>> for E1
impl<E1, E2> IntoTraced<TracedError<E2>> for E1
Source§fn into_traced(self) -> TracedError<E2>
fn into_traced(self) -> TracedError<E2>
Convert Error to a type containing a
TracedError mapping the underlying typeSource§impl<E> Traced<TracedError<E>> for Ewhere
E: AnyError,
impl<E> Traced<TracedError<E>> for Ewhere
E: AnyError,
Source§fn traced(self) -> TracedError<E>
fn traced(self) -> TracedError<E>
Convert Error to a type containing a
TracedError keeping the underlying typeSource§impl<E> TracedDyn<TracedError> for Ewhere
E: AnyError,
impl<E> TracedDyn<TracedError> for Ewhere
E: AnyError,
Source§fn traced_dyn(self) -> TracedError
fn traced_dyn(self) -> TracedError
Convert Error to
TracedError without caring about the underlying type