Enum mdblog::ErrorKind
[−]
pub enum ErrorKind { Msg(String), Template(ErrorKind), Io(Error), Fmt(Error), Toml(Error), RootDirExisted(PathBuf), ThemeNotFound(String), PostHead(PathBuf), PostNoBody(PathBuf), }
The kind of an error.
Variants
Msg(String)
A convenient variant for String.
Template(ErrorKind)
Io(Error)
Error during IO
Fmt(Error)
Error during format
Toml(Error)
Error during deserialize toml config file
RootDirExisted(PathBuf)
ThemeNotFound(String)
PostHead(PathBuf)
PostNoBody(PathBuf)
Methods
impl ErrorKind
fn description(&self) -> &str
A string describing the error kind.