function _drupal_render_exception_safe

cis7 errors.inc _drupal_render_exception_safe($exception)
cle7 errors.inc _drupal_render_exception_safe($exception)
elmsmedia7 errors.inc _drupal_render_exception_safe($exception)
icor7 errors.inc _drupal_render_exception_safe($exception)
meedjum_blog7 errors.inc _drupal_render_exception_safe($exception)
mooc7 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()
_drupal_exception_handler in includes/bootstrap.inc
Provides custom PHP exception handling.
_drupal_session_write in includes/session.inc
Writes an entire session to the database (internal use only).
_drupal_shutdown_function in includes/bootstrap.inc
Executes registered shutdown functions.

File

includes/errors.inc, line 134
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)));
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.