pub enum SicompilerError {
Io(Error),
TokenizationError(String),
ValidationError(String),
}
Expand description
Custom error type, encompassing different error scenarios.
Variants§
Io(Error)
Represents I/O errors
TokenizationError(String)
Represents errors during the tokenization process.
ValidationError(String)
Represents validation errors.
Trait Implementations§
Source§impl Debug for SicompilerError
impl Debug for SicompilerError
Source§impl Display for SicompilerError
impl Display for SicompilerError
Source§impl Error for SicompilerError
impl Error for SicompilerError
1.30.0 · 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 SicompilerError
impl !RefUnwindSafe for SicompilerError
impl Send for SicompilerError
impl Sync for SicompilerError
impl Unpin for SicompilerError
impl !UnwindSafe for SicompilerError
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