pub enum HtmlError {
CreateDir(PathBuf, Error),
CreateFile(PathBuf, Error),
FileWrite(PathBuf, Error),
DefinitionList(usize, usize),
Format(Error),
}
Expand description
Errors from the html
module.
Variants§
CreateDir(PathBuf, Error)
Failed to create a directory.
CreateFile(PathBuf, Error)
Failed to create a file.
FileWrite(PathBuf, Error)
Failed to write to a file.
DefinitionList(usize, usize)
Input contains an attempt to use a definition list in Markdown.
Format(Error)
String formatting error. This is likely a programming error.
Trait Implementations§
source§impl Error for HtmlError
impl Error for HtmlError
source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()