summaryrefslogtreecommitdiff
path: root/errors.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-03-31 06:18:55 +0100
committerAndrew Dolgov <[email protected]>2006-03-31 06:18:55 +0100
commitaf106b0ebe0b34189a83bbfb64e9c9ace044a273 (patch)
tree821e7cefa3f9011626bc51a34bc7209c445e1036 /errors.php
parent6e7f8d269e3c84807072607edc765d6c0f72712c (diff)
better fatal error handling by frontend (remove error.php)
Diffstat (limited to 'errors.php')
-rw-r--r--errors.php25
1 files changed, 25 insertions, 0 deletions
diff --git a/errors.php b/errors.php
new file mode 100644
index 000000000..556af0882
--- /dev/null
+++ b/errors.php
@@ -0,0 +1,25 @@
+<?
+ $ERRORS[0] = "Unknown error";
+
+ $ERRORS[1] = "This program requires XmlHttpRequest " .
+ "to function properly. Your browser doesn't seem to support it.";
+
+ $ERRORS[2] = "This program requires cookies " .
+ "to function properly. Your browser doesn't seem to support them.";
+
+ $ERRORS[3] = "Backend sanity check failed";
+
+ $ERRORS[4] = "Frontend sanity check failed.";
+
+ $ERRORS[5] = "Incorrect database schema version.";
+
+ $ERRORS[6] = "Request not authorized.";
+
+ $ERRORS[7] = "No operation to perform.";
+
+ $ERRORS[8] = "Could not display feed: query failed. Please check label match syntax or local configuration.";
+
+ $ERRORS[8] = "Denied. Your access level is insufficient to access this page.";
+
+ $ERRORS[9] = "Configuration check failed";
+?>