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
Io(IoError)
Reader
Fields of Reader
path: PathBuf | |
cause: Box<Error> |
Render
Fields of Render
cause: Box<Error> |
Copy
Fields of Copy
from: PathBuf | |
to: PathBuf | |
cause: Box<Error> |
Output
Fields of Output
dest: PathBuf | |
cause: Box<Error> |
LoadSettings
Fields of LoadSettings
path: PathBuf | |
cause: Box<Error> |
Settings
Fields of Settings
message: String |
InvalidDate
Fields of InvalidDate
date: String |
UnknownMetadataField
Fields of UnknownMetadataField
name: String |
Trait Implementations
impl Debug for Error
[src]
impl From<IoError> for Error
[src]
impl Display for Error
[src]
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
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]
T: AsRef<Path>,
impl<'a, T> From<(&'a T, DecodeError)> for Error where
T: AsRef<Path>,
[src]
T: AsRef<Path>,
fn from(error: (&'a T, DecodeError)) -> Error
Performs the conversion.