For the definitions of these runtime error messages
http://svn.tcwonline.org/viewvc.cgi/...1&root=amxmodx
Code:
485 : //by BAILOPAN
486 : // generic error printing routine
487 : // for pawn 3.0 this is just a wrapper
488 : const char *GenericError(int err)
489 : {
490 : static const char *amx_errs[] =
491 : {
492 : NULL,
493 : "forced exit",
494 : "assertion failed",
495 : "stack error",
496 : "index out of bounds",
497 : "memory access",
498 : "invalid instruction",
499 : "stack low",
500 : "heap low",
501 : "callback",
502 : "native error",
503 : "divide",
504 : "sleep",
505 : "invalid access state",
506 : dvander 2056 "native not found",
507 : dvander 2032 NULL,
508 : "out of memory", //16
509 : "bad file format",
510 : "bad file version",
511 : "function not found",
512 : "invalid entry point",
513 : "debugger cannot run",
514 : "plugin un or re-initialized",
515 : "userdata table full",
516 : "JIT failed to initialize",
517 : "parameter error",
518 : "domain error",
519 : };
520 : //does this plugin have line ops?
521 : const char *geterr = NULL;
522 : if (err <= 26 && err > 0)
523 : geterr = amx_errs[err];
524 :
525 : return geterr ? geterr : "unknown error";
526 : }
__________________