#[repr(u16)]pub enum PanicCode {
Show 28 variants
Unknown = 0,
ManuallyTriggeredPanic = 1,
InitFailure = 2,
IllegalInterrupt = 153,
DivideError = 256,
NmiHardwareFailiure = 258,
Overflow = 260,
InvalidOpcode = 262,
DeviceNotAvail = 263,
DoubleFault = 264,
InvalidTss = 272,
SegmentNotPresent = 273,
StackSegmentFault = 274,
GeneralProtectionFault = 275,
PageFault = 276,
X87FloatingPoint = 278,
AlignmentCheck = 279,
MachineCheck = 280,
SimdFloatingPoint = 281,
Virtualization = 288,
VmmCommunicationException = 297,
SecurityException = 304,
NoValidMemMapEntry = 768,
DoubleFree = 769,
IllegalFree = 770,
OutOfMemory = 771,
InvalidPageOperation = 800,
InvalidPsf2MagicNumber = 4_096,
}Expand description
Numeric (u16) classification of the reason for a kernel panic.