]> dev.renevier.net Git - syp.git/blobdiff - inc/errors.php
real api and clearer separation between server and client
[syp.git] / inc / errors.php
diff --git a/inc/errors.php b/inc/errors.php
deleted file mode 100644 (file)
index 0eef29b..0000000
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-/* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
-   license. */
-
-function access_denied() {
-   exit("access denied");
-}
-function request_error() {
-   exit("request error");
-}
-function server_error() {
-    exit("server error");
-}
-function feature_unavailable() {
-   exit("feature unavailable");
-}
-function request_success() {
-   exit("request accepted");
-}
-function file_too_big_error() {
-   exit("file too big");
-}
-function notanimage_error() {
-   exit("not an image");
-}
-function access_allowed() {
-    exit("access allowed");
-}
-?>