1 errors.inc _backdrop_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.:

File

core/includes/errors.inc, line 137
Functions for error handling.

Code

function _backdrop_render_exception_safe($exception) {
  return check_plain(strtr('%type: !message in %function (line %line of %file).', _backdrop_decode_exception($exception)));
}