-
Notifications
You must be signed in to change notification settings - Fork 202
Expand file tree
/
Copy pathpages.php
More file actions
71 lines (59 loc) · 2.81 KB
/
pages.php
File metadata and controls
71 lines (59 loc) · 2.81 KB
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?php
return array (
// STANDARD ERROR CODES
// =======================================================
'400' => array (
'title' => 'Bad Request',
'message' => 'The server cannot process the request due to something that is perceived to be a client error.'
),
'401' => array (
'title' => 'Unauthorized',
'message' => 'The requested resource requires an authentication.'
),
'403' => array (
'title' => 'Access Denied',
'message' => 'The requested resource requires an authentication.'
),
// http 404 not found
'404' => array (
'title' => 'Resource not found',
'message' => 'The requested resource could not be found but may be available again in the future.'
),
// internal server error
'500' => array (
'title' => 'Webservice currently unavailable',
'message' => "An unexpected condition was encountered.\nOur service team has been dispatched to bring it back online."
),
// unknown http method
'501' => array (
'title' => 'Not Implemented',
'message' => 'The Webserver cannot recognize the request method.'
),
// http proxy forward error
'502' => array (
'title' => 'Webservice currently unavailable',
'message' => "We've got some trouble with our backend upstream cluster.\nOur service team has been dispatched to bring it back online."
),
// webserver service error
'503' => array (
'title' => 'Webservice currently unavailable',
'message' => "We've got some trouble with our backend upstream cluster.\nOur service team has been dispatched to bring it back online."
),
// CUSTOM ERROR CODES
// =======================================================
// webserver origin error
'520' => array(
'title' => 'Origin Error - Unknown Host',
'message' => 'The requested hostname is not routed. Use only hostnames to access resources.'
),
// webserver down error
'521' => array (
'title' => 'Webservice currently unavailable',
'message' => "We've got some trouble with our backend upstream cluster.\nOur service team has been dispatched to bring it back online."
),
// maintenance
'533' => array(
'title' => 'Scheduled Maintenance',
'message' => "This site is currently down for maintenance.\nOur service team is working hard to bring it back online soon."
)
);