pub enum HtmlError {
CreateDir(PathBuf, Error),
CreateFile(PathBuf, Error),
FileWrite(PathBuf, Error),
DefinitionList(Location),
Format(Error),
Math,
Metadata,
ToC(ToCError),
BlockAttr(BlockAttrError),
}
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(Location)
Input contains an attempt to use a definition list in Markdown.
Format(Error)
String formatting error. This is likely a programming error.
Math
Math is not supported in Subplot.
Metadata
Metadata blocks are not supported in Subplot.
ToC(ToCError)
Error generating a table of content entry.
BlockAttr(BlockAttrError)
Error parsing fenced code block attributes.
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)>
Returns 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()
Source§impl From<HtmlError> for SubplotError
impl From<HtmlError> for SubplotError
Auto Trait Implementations§
impl Freeze for HtmlError
impl !RefUnwindSafe for HtmlError
impl Send for HtmlError
impl Sync for HtmlError
impl Unpin for HtmlError
impl !UnwindSafe for HtmlError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more