pub enum Error {
FileNotFound(FileNotFoundError),
IO(Error),
Parse(ParseError),
}Expand description
Error returned when preprocess or preprocess_with_source_tracker fails.
Variants§
FileNotFound(FileNotFoundError)
Variant returned when an included file path cannot be resolved to a file.
IO(Error)
Variant returned when an interaction with the underlying OS failed.
Parse(ParseError)
Variant returned when either the entry-point file or any included file contains invalid directives.
Trait Implementations§
Source§impl From<FileNotFoundError> for Error
impl From<FileNotFoundError> for Error
Source§fn from(err: FileNotFoundError) -> Self
fn from(err: FileNotFoundError) -> Self
Converts to this type from the input type.
Source§impl From<ParseError> for Error
impl From<ParseError> for Error
Source§fn from(err: ParseError) -> Self
fn from(err: ParseError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for Error
impl !RefUnwindSafe for Error
impl Send for Error
impl Sync for Error
impl Unpin for Error
impl !UnwindSafe for Error
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