Errors description

From WowWiki
Jump to navigation Jump to search
   // WASM errors
   // -- trap errors
   "Stack Low",                                "[trap] stack overflow"
   "",                           "[trap] out of bounds memory access"
   "Divide by zero",                        "[trap] integer divide by zero"
   "",                                       "[trap] integer overflow"
   "",                         "[trap] invalid conversion to integer"
   "",                            "[trap] indirect call type mismatch"
   "",                                      "[trap] undefined element"
   "",                                  "[trap] null table element"
   "Heap Low",                                           "[trap] program called exit"
   "",                                                  "[trap] program called abort"
   "",                                          "[trap] unreachable executed"
   // -- runtime errors
   "",                                 "function is missing compiled m3 code"
   "Memory overflow",                         "runtime ran out of memory"
   "",                          "global memory is missing from a module"
   "",                           "global index is too large"
   "",                               "argument count mismatch"
   "",                                 "argument type mismatch"
   "",                                   "global lookup failed"
   "",                                   "global type mismatch"
   "",                                    "global is not mutable"
   // -- compilation errors
   "",                                            "no compiler found for opcode"
   "",                                         "unknown opcode"
   "",                                      "restricted opcode"
   "Stack Low",                       "compiling function overran its stack height limit"
   "Stack Low",                      "compiling function underran the stack"
   "Cache Low",                      "memory allocation failed when acquiring a new M3 code page"
   "",                               "attempting to set an immutable global"
   "",                                         "incorrect type on stack"
   "",                                   "incorrect value count on stack"
   // -- link errors
   "",                                     "attempting to use module that is not loaded"
   "",                                  "attempting to bind module to multiple runtimes"
   "",                                "function lookup failed"
   "",                               "missing imported function"
   "",                           "malformed function signature"
   // -- parse errors
   "",                              "incompatible Wasm binary version"
   "",                                          "malformed Wasm binary"
   "",                                    "out of order Wasm section"
   "",                                               "underrun while parsing Wasm binary"
   "",                                                "overrun while parsing Wasm binary"
   "",                                      "missing init_expr in Wasm binary"
   "",                                          "LEB encoded value overflow"
   "",                                          "invalid length UTF-8 string"
   "",                                    "section underrun while parsing Wasm binary"
   "",                                       "section overrun while parsing Wasm binary"
   "",                                      "unknown value_type"
   "",                              "only one memory per module is supported"
   "",                                    "too many arguments or return values"
   "",                                         "memory allocation failed"
   // PAWN errors
   "Forced exit",      
   "",                 "asert"
   "",                                          "stack/heap collision"
   "",                                             "index out of bounds"
   "",                                          "invalid memory access"
   "",                                          "invalid instruction"
   "Stack underflow",                            "stack underflow"
   "Heap underflow",                              "heap underflow"
   "",                                           "no callback, or invalid callback"
   "",                                            "native function failed"
   "Divide by zero",                               "divide by zero"
   "",                                              "go into sleepmode - code can be restarted"
   "",                                           "no implementation for this state, no fall-back"
   "Out of memory",                                "out of memory"
   "",                                             "invalid file format"
   "",                                            "file is for a newer version of the AMX"
   "",                                           "function not found"
   "",                                              "invalid index parameter (bad entry point)"
   "",                                              "debugger cannot run"
   "",                                               "AMX not initialized (or doubly initialized)"
   "",                                           "unable to set user data field (table full)"
   "",                                           "cannot initialize the JIT"
   "Parameter error",                              "parameter error"
   "",                                             "domain error, expression result does not fit in range"
   "",                                            "general error (unknown or unspecific error)"
   "",                                            "overlays are unsupported (JIT) or uninitialized"