Elgg  Version master
Variables
exception.php File Reference

Go to the source code of this file.

Variables

if(elgg_is_admin_logged_in()) $exception = elgg_extract('object', $vars)
 Elgg JSON exception Displays a single exception. More...
 
if(!$exception instanceof Throwable) $result = new stdClass()
 
$result error = get_class($exception)
 

Variable Documentation

Elgg JSON exception Displays a single exception.

$vars['object'] An exception

Definition at line 14 of file exception.php.

if (!$exception instanceof Throwable) $result = new stdClass()

Definition at line 19 of file exception.php.

$result error = get_class($exception)

Definition at line 20 of file exception.php.