Elgg  Version master
Variables
admin_exception.php File Reference

Go to the source code of this file.

Variables

 $exception = elgg_extract('object', $vars)
 
if(! $exception instanceof Throwable) $result = new stdClass()
 
$result error = get_class($exception)
 
$result ts = (int) elgg_extract('ts', $vars)
 
$result message = $exception->getMessage()
 
if($exception instanceof DatabaseExceptionelse
 

Variable Documentation

◆ $exception

$exception = elgg_extract('object', $vars)

Definition at line 11 of file admin_exception.php.

◆ $result

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

Definition at line 16 of file admin_exception.php.

◆ else

if ( $exception instanceof DatabaseException) else
Initial value:
{
$result->trace = $exception->getTrace()
$exception
Elgg exception (failsafe mode) Displays a single exception.
if(! $exception instanceof Throwable) $result

Definition at line 24 of file admin_exception.php.

◆ error

$result error = get_class($exception)

Definition at line 17 of file admin_exception.php.

◆ message

string type of the ElggSystemMessage::message = $exception->getMessage()

Definition at line 19 of file admin_exception.php.

◆ ts

$result ts = (int) elgg_extract('ts', $vars)

Definition at line 18 of file admin_exception.php.