aboutsummaryrefslogtreecommitdiff
path: root/views/json/messages/exceptions/exception.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/json/messages/exceptions/exception.php')
-rw-r--r--views/json/messages/exceptions/exception.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/views/json/messages/exceptions/exception.php b/views/json/messages/exceptions/exception.php
new file mode 100644
index 000000000..a11bd7f7b
--- /dev/null
+++ b/views/json/messages/exceptions/exception.php
@@ -0,0 +1,20 @@
+<?php
+ /**
+ * Elgg exception
+ * Displays a single exception
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @license http://www.gnu.org/licenses/old-licenses/gpl-2.0.html GNU Public License version 2
+ * @author Marcus Povey
+ * @copyright Curverider Ltd 2008
+ * @link http://elgg.org/
+ *
+ * @uses $vars['object'] An exception
+ */
+
+ $export = $vars['object'];
+
+
+ echo json_encode("$export");
+?> \ No newline at end of file