Morgengrauner Dokumentation
Dateipfad: /home/mud/mudlib/doc/master/runtime_warningSYNOPSIS
void runtime_warning( string msg, string curobj, string prog, int line
, int inside_catch)
DESCRIPTION
This function is called to let the mudlib handle a runtime warning,
e.g. by logging it into a database.
is the warning message.
is the name of the current object which caused the message
(the object itself might already be destructed), or 0 if there
is none.
, determine the name of the program and the line where
the error occurred if the current object exists, otherwise
they are 0.
: != 0 if the warning occurs inside a catch().
The driver is limited to three nested warnings, to prevent
an endless recursion in case runtime_warning() itself causes
warnings.
HISTORY
Introduced in LDMud 3.3.551.
LDMud 3.3.705 added the argument.
SEE ALSO
runtime_error(M)
zurück zur Übersicht