errors.inc

Version 1.2 (checked in on 2010/03/06 at 06:31:24 by dries)

Functions for error handling

Constants

NameDescription
ERROR_REPORTING_DISPLAY_ALLError reporting level: display all messages.
ERROR_REPORTING_DISPLAY_SOMEError reporting level: display errors and warnings.
ERROR_REPORTING_HIDEError reporting level: display no errors.

Functions

NameDescription
drupal_error_levelsMap PHP error constants to watchdog severity levels. The error constants are documented at http://php.net/manual/en/errorfunc.constants.php
_drupal_decode_exceptionDecode an exception, especially to retrive the correct caller.
_drupal_error_handler_realCustom PHP error handler.
_drupal_get_last_callerGets the last caller from a backtrace.
_drupal_log_errorLog a PHP error or exception, display an error page in fatal cases.