]> dev.renevier.net Git - syp.git/blob - inc/errors.php
0eef29b37e85bba761e5ee0ab80140073e937e3a
[syp.git] / inc / errors.php
1 <?php
2 /* Copyright (c) 2009 Arnaud Renevier, Inc, published under the modified BSD
3    license. */
4
5 function access_denied() {
6    exit("access denied");
7 }
8 function request_error() {
9    exit("request error");
10 }
11 function server_error() {
12     exit("server error");
13 }
14 function feature_unavailable() {
15    exit("feature unavailable");
16 }
17 function request_success() {
18    exit("request accepted");
19 }
20 function file_too_big_error() {
21    exit("file too big");
22 }
23 function notanimage_error() {
24    exit("not an image");
25 }
26 function access_allowed() {
27     exit("access allowed");
28 }
29 ?>