; faults.inc - stable runtime fault codes (E04-S05). ; ; The codes are the R-code suffix printed by flt_report and stored in the ; mailbox MB_CODE. They are stable: never renumber or reuse one. .ifndef FAULTS_INC FAULTS_INC = 1 FLT_NULL = 1 ; R001 null object/interface reference FLT_BOUNDS = 2 ; R002 array index outside the bounds FLT_DIV0 = 3 ; R003 division by zero FLT_STACK = 4 ; R004 software-frame stack overflow FLT_HEAP = 5 ; R005 heap exhausted or corrupt FLT_CODE_MAX = 5 .endif