| 7 errors.inc | _drupal_render_exception_safe($exception) |
| 8 errors.inc | _drupal_render_exception_safe($exception) |
Renders an exception error message without further exceptions.
Parameters
$exception: The exception object that was thrown.
Return value
An error message.
3 calls to _drupal_render_exception_safe()
File
- includes/
errors.inc, line 149 - Functions for error handling.
Code
function _drupal_render_exception_safe($exception) {
return check_plain(strtr('%type: !message in %function (line %line of %file).', _drupal_decode_exception($exception)));
}
Login or register to post comments