#[repr(u8)]pub enum ArchivedTrapCode {
Show 14 variants
StackOverflow = 0,
HeapAccessOutOfBounds = 1,
HeapMisaligned = 2,
TableAccessOutOfBounds = 3,
IndirectCallToNull = 4,
BadSignature = 5,
IntegerOverflow = 6,
IntegerDivisionByZero = 7,
BadConversionToInteger = 8,
UnreachableCodeReached = 9,
UnalignedAtomic = 10,
UncaughtException = 11,
UninitializedExnRef = 12,
YieldOutsideAsyncContext = 13,
}Expand description
An archived TrapCode
Variants§
StackOverflow = 0
The archived counterpart of TrapCode::StackOverflow
HeapAccessOutOfBounds = 1
The archived counterpart of TrapCode::HeapAccessOutOfBounds
HeapMisaligned = 2
The archived counterpart of TrapCode::HeapMisaligned
TableAccessOutOfBounds = 3
The archived counterpart of TrapCode::TableAccessOutOfBounds
IndirectCallToNull = 4
The archived counterpart of TrapCode::IndirectCallToNull
BadSignature = 5
The archived counterpart of TrapCode::BadSignature
IntegerOverflow = 6
The archived counterpart of TrapCode::IntegerOverflow
IntegerDivisionByZero = 7
The archived counterpart of TrapCode::IntegerDivisionByZero
BadConversionToInteger = 8
The archived counterpart of TrapCode::BadConversionToInteger
UnreachableCodeReached = 9
The archived counterpart of TrapCode::UnreachableCodeReached
UnalignedAtomic = 10
The archived counterpart of TrapCode::UnalignedAtomic
UncaughtException = 11
The archived counterpart of TrapCode::UncaughtException
UninitializedExnRef = 12
The archived counterpart of TrapCode::UninitializedExnRef
YieldOutsideAsyncContext = 13
The archived counterpart of TrapCode::YieldOutsideAsyncContext