pub enum FiddlerError {
Lex(LexError),
Parse(ParseError),
Runtime(RuntimeError),
}Expand description
Top-level error type that wraps all FiddlerScript errors.
Variants§
Trait Implementations§
Source§impl Clone for FiddlerError
impl Clone for FiddlerError
Source§fn clone(&self) -> FiddlerError
fn clone(&self) -> FiddlerError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for FiddlerError
impl Debug for FiddlerError
Source§impl Display for FiddlerError
impl Display for FiddlerError
Source§impl Error for FiddlerError
impl Error for FiddlerError
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<LexError> for FiddlerError
impl From<LexError> for FiddlerError
Source§impl From<ParseError> for FiddlerError
impl From<ParseError> for FiddlerError
Source§fn from(source: ParseError) -> Self
fn from(source: ParseError) -> Self
Converts to this type from the input type.
Source§impl From<RuntimeError> for FiddlerError
impl From<RuntimeError> for FiddlerError
Source§fn from(source: RuntimeError) -> Self
fn from(source: RuntimeError) -> Self
Converts to this type from the input type.
Source§impl PartialEq for FiddlerError
impl PartialEq for FiddlerError
impl StructuralPartialEq for FiddlerError
Auto Trait Implementations§
impl Freeze for FiddlerError
impl RefUnwindSafe for FiddlerError
impl Send for FiddlerError
impl Sync for FiddlerError
impl Unpin for FiddlerError
impl UnsafeUnpin for FiddlerError
impl UnwindSafe for FiddlerError
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