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.php15
1 files changed, 15 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..4f73212bc
--- /dev/null
+++ b/views/json/messages/exceptions/exception.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Elgg exception
+ * Displays a single exception
+ *
+ * @package Elgg
+ * @subpackage Core
+ *
+ * @uses $vars['object'] An exception
+ */
+
+$export = $vars['object'];
+
+global $jsonexport;
+$jsonexport['exceptions'][] = $export; \ No newline at end of file