native set_error_filter(const handler);
Function name to call
Allows to trap error messages that occur in a plugin.
This can be used to override the debug messages that occur when the plugin causes some kind of runtime error.
The handler will be called in the following manner: public error_filter(error_code, bool:debugging, message) error_code - AMX_ERR_* code. debugging - True if the plugin is in debug mode, false otherwise message - Message sent along with the error
The handler should return PLUGIN_CONTINUE to let the error through the filter, or PLUGIN_HANDLED to block the error from displaying.
This function has no return value.
If an invalid callback function is provided, an error is thrown.
This documentation was generated automatically using pawn-docgen written by xPaw for AlliedMods.