class Error
Drupal error utility class.
Hierarchy
- class \Drupal\Core\Utility\Error
File
- core/lib/Drupal/Core/Utility/Error.php, line 12
Namespace
Drupal\Core\UtilityMembers
Name | Modifiers | Type | Description |
---|---|---|---|
Error::$blacklistFunctions | protected static | property | An array of blacklisted functions. |
Error::decodeException | public static | function | Decodes an exception and retrieves the correct caller. |
Error::ERROR | constant | The error severity level. | |
Error::formatBacktrace | public static | function | Formats a backtrace into a plain-text string. |
Error::getLastCaller | public static | function | Gets the last caller from a backtrace. |
Error::renderExceptionSafe | public static | function | 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/core!lib!Drupal!Core!Utility!Error.php/class/Error/8.1.x