Struct miau::error::ErrorImpl[][src]

pub struct ErrorImpl { /* fields omitted */ }

Underlying implementation of ConfigurationError.

Implementations

impl ErrorImpl[src]

pub fn get_code(&self) -> &ErrorCode[src]

Returns reference to underlying cause of the error.

pub fn get_path(&self) -> Option<&[Key]>[src]

Returns path in configuration at which error occured.

Returned value is a slice with configuration keys counting from root.

pub fn get_context(&self) -> Option<&[String]>[src]

Returns additional context attached to error.

This information can contain, for instance, name of the file that was not found.

Trait Implementations

impl Debug for ErrorImpl[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.