pub enum ErrorParse {
ParsingError(String),
FileError(Error),
}Expand description
Enum representing possible errors encountered during parsing or file operations.
Variants§
ParsingError(String)
Error when there is a parsing issue with the markdown input.
FileError(Error)
Error when there is a file operation issue: file read/write.
Trait Implementations§
Source§impl Debug for ErrorParse
impl Debug for ErrorParse
Source§impl Display for ErrorParse
impl Display for ErrorParse
Source§impl Error for ErrorParse
impl Error for ErrorParse
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()
Auto Trait Implementations§
impl Freeze for ErrorParse
impl !RefUnwindSafe for ErrorParse
impl Send for ErrorParse
impl Sync for ErrorParse
impl Unpin for ErrorParse
impl !UnwindSafe for ErrorParse
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