errors.inc

Functions for error handling.

File

includes/errors.inc

Functions

Name Description
drupal_error_levels Maps PHP error constants to watchdog severity levels.
error_displayable Determines whether an error should be displayed.
_drupal_decode_exception Decodes an exception and retrieves the correct caller.
_drupal_error_handler_real Provides custom PHP error handling.
_drupal_get_last_caller Gets the last caller from a backtrace.
_drupal_log_error Logs a PHP error or exception and displays an error page in fatal cases.
_drupal_render_exception_safe Renders an exception error message without further exceptions.

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/includes!errors.inc/7.x