Raised This Month: $ Target: $400
 0% 

Where are the docs?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Podunk
Senior Member
Join Date: Nov 2005
Location: Florida
Old 10-07-2007 , 14:36   Where are the docs?
Reply With Quote #1

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 :                 }
__________________
Check out my website at http://matthewmiller.info
Podunk is offline
Send a message via MSN to Podunk
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:08.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode