pub enum ErrorClass {
Interrupted,
Eval,
Unsupported,
ResourceLimit,
Bug,
}Expand description
What kind of failure an EvalError is.
Variants§
Interrupted
A cooperative host interruption, classified by the driver, never a specification failure or an arbitrary resource refusal.
Eval
An evaluation error that TLC raises in the same situation, with TLC’s code and message.
Unsupported
dive does not implement the construct exactly and refuses it. The message names the feature (charter soundness rule: never approximate).
ResourceLimit
A resource limit: evaluation depth, value nesting, or a dive-only size
limit. TLC’s counterpart is a JVM StackOverflowError or
OutOfMemoryError, which the harness never treats as an oracle fact.
Bug
An internal invariant was violated: a bug in dive.
Trait Implementations§
Source§impl Clone for ErrorClass
impl Clone for ErrorClass
impl Copy for ErrorClass
Source§impl Debug for ErrorClass
impl Debug for ErrorClass
impl Eq for ErrorClass
Source§impl Hash for ErrorClass
impl Hash for ErrorClass
Source§impl PartialEq for ErrorClass
impl PartialEq for ErrorClass
impl StructuralPartialEq for ErrorClass
Auto Trait Implementations§
impl Forget for ErrorClass
impl Freeze for ErrorClass
impl Move for ErrorClass
impl RefUnwindSafe for ErrorClass
impl Send for ErrorClass
impl Sync for ErrorClass
impl Unpin for ErrorClass
impl UnsafeUnpin for ErrorClass
impl UnwindSafe for ErrorClass
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