Enum helianto::Error [] [src]

pub enum Error {
    Io(IoError),
    Reader {
        path: PathBuf,
        cause: Box<Error>,
    },
    Render {
        cause: Box<Error>,
    },
    Copy {
        from: PathBuf,
        to: PathBuf,
        cause: Box<Error>,
    },
    Output {
        dest: PathBuf,
        cause: Box<Error>,
    },
    LoadSettings {
        path: PathBuf,
        cause: Box<Error>,
    },
    Settings {
        message: String,
    },
    InvalidDate {
        date: String,
    },
    UnknownMetadataField {
        name: String,
    },
}

Variants

Fields of Reader

Fields of Render

Fields of Copy

Fields of Output

Fields of LoadSettings

Fields of Settings

Fields of InvalidDate

Fields of UnknownMetadataField

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl From<IoError> for Error
[src]

Performs the conversion.

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl Error for Error
[src]

A short description of the error. Read more

The lower-level cause of this error, if any. Read more

impl<'a, T> From<(&'a T, Parser<'a>)> for Error where
    T: AsRef<Path>, 
[src]

Performs the conversion.

impl<'a, T> From<(&'a T, DecodeError)> for Error where
    T: AsRef<Path>, 
[src]

Performs the conversion.