Enum mdblog::Error [] [src]

pub enum Error {
    RootDirExisted,
    ThemeNotFound,
    PostHead,
    PostBody,
    Render(TeraError),
    Io(IoError),
    Toml(Vec<ParserError>),
    Fmt(FmtError),
}

Variants

RootDirExistedThemeNotFoundPostHeadPostBodyRender(TeraError)Io(IoError)Toml(Vec<ParserError>)Fmt(FmtError)

Trait Implementations

impl Debug for Error
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Display for Error
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl StdError for Error
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&StdError>

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

impl From<IoError> for Error
[src]

fn from(err: IoError) -> Error

Performs the conversion.

impl From<TeraError> for Error
[src]

fn from(err: TeraError) -> Error

Performs the conversion.

impl From<FmtError> for Error
[src]

fn from(err: FmtError) -> Error

Performs the conversion.

impl From<Vec<ParserError>> for Error
[src]

fn from(errs: Vec<ParserError>) -> Error

Performs the conversion.