[][src]Struct weldr::error::ResolveError

pub struct ResolveError {
    pub filename: String,
    pub resolve_error: Option<Box<dyn Error>>,
}

Error related to resolving a sub-file reference of a source file.

Fields

filename: String

Filename of the sub-file reference, generally relative to some canonical catalog path(s).

resolve_error: Option<Box<dyn Error>>

Optional underlying error raised by the resolver implementation.

Implementations

impl ResolveError[src]

pub fn new(filename: &str, err: impl Into<Box<dyn Error>>) -> Self[src]

Create a ResolveError that stems from an arbitrary error of an underlying resolution error.

pub fn new_raw(filename: &str) -> Self[src]

Create a ResolveError without any underlying error.

Trait Implementations

impl Debug for ResolveError[src]

impl From<ResolveError> for Error[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.