errors.inc

Functions for error handling.

File

core/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_error_handler_real Provides custom PHP error handling.
_drupal_get_error_level Returns the current error level.
_drupal_log_error Logs a PHP error or exception and displays an error page in fatal cases.

© 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/core!includes!errors.inc/8.1.x