pub enum YieldError {
Show 20 variants
UnexpectedTag(u8),
UnexpectedConTag(u64),
BadValFields(u16),
BadEFields(u16),
BadUnionFields(u16),
NullPointer,
DivisionByZero,
Overflow,
UserError,
UserErrorMsg(String),
Undefined,
TypeMetadata,
UnresolvedVar(u64),
NullFunPtr,
BadFunPtrTag(u8),
HeapOverflow,
StackOverflow,
Signal(i32),
BlackHole,
BadThunkState(u8),
}Variants§
UnexpectedTag(u8)
Result HeapObject had unexpected tag byte.
UnexpectedConTag(u64)
Result was Con but con_tag was neither Val nor E.
BadValFields(u16)
Val constructor had wrong number of fields.
BadEFields(u16)
E constructor had wrong number of fields.
BadUnionFields(u16)
Union constructor had wrong number of fields.
NullPointer
Null pointer encountered.
DivisionByZero
Division by zero in JIT code.
Overflow
Arithmetic overflow in JIT code.
UserError
Haskell error called in JIT code.
UserErrorMsg(String)
Haskell error called with a specific message.
Undefined
Haskell undefined forced in JIT code.
TypeMetadata
GHC type metadata forced (should be dead code).
UnresolvedVar(u64)
Unresolved external variable forced.
NullFunPtr
Application of null function pointer.
BadFunPtrTag(u8)
Application of non-closure heap object.
HeapOverflow
Heap overflow after GC.
StackOverflow
Call depth exceeded (likely infinite list or unbounded recursion).
Signal(i32)
Fatal signal during JIT execution (SIGILL, SIGSEGV, SIGBUS, SIGTRAP).
BlackHole
Blackhole detected (infinite loop: thunk forced itself).
BadThunkState(u8)
Thunk encountered with an invalid evaluation state.
Trait Implementations§
Source§impl Clone for YieldError
impl Clone for YieldError
Source§fn clone(&self) -> YieldError
fn clone(&self) -> YieldError
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for YieldError
impl Debug for YieldError
Source§impl Display for YieldError
impl Display for YieldError
Source§impl Error for YieldError
impl Error for YieldError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
Source§impl From<RuntimeError> for YieldError
impl From<RuntimeError> for YieldError
Source§fn from(err: RuntimeError) -> Self
fn from(err: RuntimeError) -> Self
Source§impl PartialEq for YieldError
impl PartialEq for YieldError
impl Eq for YieldError
impl StructuralPartialEq for YieldError
Auto Trait Implementations§
impl Freeze for YieldError
impl RefUnwindSafe for YieldError
impl Send for YieldError
impl Sync for YieldError
impl Unpin for YieldError
impl UnsafeUnpin for YieldError
impl UnwindSafe for YieldError
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
impl<Choices> CoproductSubsetter<CNil, HNil> for Choices
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.