forked from GroundApps/ShoppingList_Backend
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CONSTANTS.php
29 lines (26 loc) · 965 Bytes
/
CONSTANTS.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php
define('BACKEND_VERSION', 1.0);
define('API_SUCCESS_LIST', 1000);
define('API_SUCCESS_LIST_EMPTY', 1001);
define('API_SUCCESS_UPDATE', 1002);
define('API_SUCCESS_FAVORITE', 1003);
define('API_SUCCESS_DELETE', 1004);
define('API_SUCCESS_SAVE', 1005);
define('API_SUCCESS_CLEAR', 1006);
define('API_ERROR_SERVER', 5000);
define('API_ERROR_404', 5001);
define('API_ERROR_403', 5002);
define('API_ERROR_MISSING_FUNCTION', 5003);
define('API_ERROR_NO_DATABASE', 5004);
define('API_ERROR_CONFIG', 5005);
define('API_ERROR_UNKNOWN', 5006);
define('API_ERROR_DATABASE_CONNECT', 5012);
define('API_ERROR_MISSING_PARAMETER', 5013);
define('API_ERROR_FUNCTION_NOT_SPECIFIED', 5014);
define('API_ERROR_NOT_CONFIGURED', 5015);
define('API_ERROR_UPDATE_', 6001);
define('API_ERROR_FAVORITE', 6002);
define('API_ERROR_DELETE', 6003);
define('API_ERROR_SAVE', 6004);
define('API_ERROR_CLEAR', 6005);
?>