Renders an exception error message without further exceptions.
$exception: The exception object that was thrown.
An error message.
function _drupal_render_exception_safe($exception) {
return check_plain(strtr('%type: !message in %function (line %line of %file).', _drupal_decode_exception($exception)));
}