Will display an exception error message using smarty. Takes the exception object as first argument, the smarty object as second argument and the name of the error template as third argument.
Please note that displayException() does not stop script execution.
void phpErrorHandler(
int
$code, string
$message, string
$file, int
$line)
Error handler for php to be used through set_error_handler(). Takes the error code/level as first argument, the error message as second argument and the file and line where the error occurred as third and fourth argument.
Stops script execution on E_USER_ERROR and E_ERROR.
void triggerUserError(
int
$code, string
$message, string
$file, int
$line)
Triggers user error. Takes the error code/level as first argument, the error message as second argument and the file and line where the error occurred (use the constants __FILE__ and __LINE__) as third and fourth argument.
Valid values for the error code/level are BASE_ERROR_ERROR, BASE_ERROR_WARNING, BASE_ERROR_INFO and BASE_ERROR_DEBUG.