Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
exception.php
Go to the documentation of this file.
1 <?php
12 $exception = $vars['object'];
13 $result = new stdClass();
14 $result->error = get_class($exception);
15 echo json_encode($result);
$vars['entity']
$exception
Definition: exception.php:12
$result
Definition: exception.php:13