added ThrowError() a la amxmodx's abort()

--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%40566
This commit is contained in:
David Anderson
2007-03-02 19:10:44 +00:00
parent 9de900d3eb
commit 66b244011e
5 changed files with 55 additions and 2 deletions
+2 -1
View File
@@ -31,7 +31,7 @@
using namespace SourcePawn;
#define ERROR_MESSAGE_MAX 23
#define ERROR_MESSAGE_MAX 25
static const char *g_ErrorMsgTable[] =
{
NULL,
@@ -59,6 +59,7 @@ static const char *g_ErrorMsgTable[] =
"Maximum number of parameters reached",
"Native detected error",
"Plugin not runnable",
"Call was aborted",
};
SourcePawnEngine::SourcePawnEngine()