Enum crowbook::Error
[−]
[src]
pub enum Error { Parser(String), ConfigParser(&'static str, String), FileNotFound(String), Render(String), Zipper(String), BookOption(String), InvalidOption(String), }
Crowbook's error type
Variants
Parser(String)
An error in Parsing markdown file
ConfigParser(&'static str, String)
An error in parsing a book configuration file
FileNotFound(String)
An error when a file is not found
Render(String)
An error in a renderer
Zipper(String)
An error during "zipping" processus
BookOption(String)
An error relative to BookOption convertion (usually a type error)
InvalidOption(String)
An invalid option
Trait Implementations
impl Debug for Error
[src]
impl PartialEq for Error
[src]
fn eq(&self, __arg_0: &Error) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &Error) -> bool
This method tests for !=
.
impl Error for Error
[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&Error>
1.0.0
The lower-level cause of this error, if any. Read more