pub enum PsInterpretError {
NoError,
AssertionFailure(PsInterpretAssertionFailures),
MelInterpreterError(Box<InterpLocatableError>),
InvalidRequest,
InvalidUri(ParseError),
InvalidResponse(String),
WrongType(PsInterpretValueType, PsInterpretValueType),
WrongMatchGroupValueType(PsInterpretValueType),
ProcessableRequestResponseError(Error),
}Variants§
NoError
AssertionFailure(PsInterpretAssertionFailures)
MelInterpreterError(Box<InterpLocatableError>)
InvalidRequest
InvalidUri(ParseError)
InvalidResponse(String)
WrongType(PsInterpretValueType, PsInterpretValueType)
WrongMatchGroupValueType(PsInterpretValueType)
ProcessableRequestResponseError(Error)
Trait Implementations§
Source§impl Debug for PsInterpretError
impl Debug for PsInterpretError
Source§impl Default for PsInterpretError
impl Default for PsInterpretError
Source§fn default() -> PsInterpretError
fn default() -> PsInterpretError
Returns the “default value” for a type. Read more
Source§impl Display for PsInterpretError
impl Display for PsInterpretError
Source§impl Error for PsInterpretError
impl Error for PsInterpretError
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 !RefUnwindSafe for PsInterpretError
impl !Send for PsInterpretError
impl !Sync for PsInterpretError
impl !UnwindSafe for PsInterpretError
impl Freeze for PsInterpretError
impl Unpin for PsInterpretError
impl UnsafeUnpin for PsInterpretError
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