forked from jumpjack/myRenaultLC
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patherrors.js
255 lines (255 loc) · 9.02 KB
/
errors.js
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
// https://cdn.unreal-designs.co.uk/cont/statusMsg/
errors = {
"info": {
"lastUpdate": {
"date": "20160411",
"log": "4xx Codes updated via Wikipedia"
},
"references": {
"W3Schools": "http:\/\/www.w3schools.com\/tags\/ref_httpmessages.asp",
"Wikipedia": "https:\/\/en.wikipedia.org\/wiki\/List_of_HTTP_status_codes"
},
"codeLookup": {
"info": "Use the 'code' variable in the url to lookup and individual code",
"demoURL": "\/statusMsg\/?code=500"
},
"htmlDisplay": {
"info": "Add the 'html' variable to your code lookup to get the error displayed in a nice html template",
"demoURL": "\/statusMsg\/?code=404&html"
},
"invalidCode": "If an invalid code is given, the site will just show the json list of all codes",
"credits": "This site was crafted by Unreal Designs and is powered by UDCDN"
},
"1xx": {
"message": "Information",
"description": ""
},
"100": {
"message": "Continue",
"description": "The server has received the request headers, and the client should proceed to send the request body"
},
"101": {
"message": "Switching Protocols",
"description": "The requester has asked the server to switch protocols"
},
"103": {
"message": "Checkpoint",
"description": "Used in the resumable requests proposal to resume aborted PUT or POST requests"
},
"2xx": {
"message": "Successful",
"description": ""
},
"200": {
"message": "OK",
"description": "The request is OK (this is the standard response for successful HTTP requests)"
},
"201": {
"message": "Created",
"description": "The request has been fulfilled, and a new resource is created"
},
"202": {
"message": "Accepted",
"description": "The request has been accepted for processing, but the processing has not been completed"
},
"203": {
"message": "Non-Authoritative Information",
"description": "The request has been successfully processed, but is returning information that may be from another source"
},
"204": {
"message": "No Content",
"description": "The request has been successfully processed, but is not returning any content"
},
"205": {
"message": "Reset Content",
"description": "The request has been successfully processed, but is not returning any content, and requires that the requester reset the document view"
},
"206": {
"message": "Partial Content",
"description": "The server is delivering only part of the resource due to a range header sent by the client"
},
"3xx": {
"message": "Redirection",
"description": ""
},
"300": {
"message": "Multiple Choices",
"description": "A link list. The user can select a link and go to that location. Maximum five addresses"
},
"301": {
"message": "Moved Permanently",
"description": "The requested page has moved to a new URL"
},
"302": {
"message": "Found",
"description": "The requested page has moved temporarily to a new URL"
},
"303": {
"message": "See Other",
"description": "The requested page can be found under a different URL"
},
"304": {
"message": "Not Modified",
"description": "Indicates the requested page has not been modified since last requested"
},
"306": {
"message": "Switch Proxy",
"description": "-- No longer used --"
},
"307": {
"message": "Temporary Redirect",
"description": "The requested page has moved temporarily to a new URL"
},
"308": {
"message": "Resume Incomplete",
"description": "Used in the resumable requests proposal to resume aborted PUT or POST requests"
},
"4xx": {
"message": "Client Error",
"description": ""
},
"400": {
"message": "Bad Request",
"description": "The request cannot be fulfilled due to bad syntax"
},
"401": {
"message": "Unauthorized",
"description": "The request was a legal request, but the server is refusing to respond to it. For use when authentication is possible but has failed or not yet been provided"
},
"402": {
"message": "Payment Required",
"description": "-- Reserved for future use --"
},
"403": {
"message": "Forbidden",
"description": "The request was a legal request, but the server is refusing to respond to it"
},
"404": {
"message": "Not Found",
"description": "The requested page could not be found but may be available again in the future"
},
"405": {
"message": "Method Not Allowed",
"description": "A request was made of a page using a request method not supported by that page"
},
"406": {
"message": "Not Acceptable",
"description": "The server can only generate a response that is not accepted by the client"
},
"407": {
"message": "Proxy Authentication Required",
"description": "The client must first authenticate itself with the proxy"
},
"408": {
"message": "Request Timeout",
"description": "The server timed out waiting for the request"
},
"409": {
"message": "Conflict",
"description": "The request could not be completed because of a conflict in the request"
},
"410": {
"message": "Gone",
"description": "The requested page is no longer available"
},
"411": {
"message": "Length Required",
"description": "The \"Content-Length\" is not defined. The server will not accept the request without it"
},
"412": {
"message": "Precondition Failed",
"description": "The precondition given in the request evaluated to false by the server"
},
"413": {
"message": "Request Entity Too Large",
"description": "The server will not accept the request, because the request entity is too large"
},
"414": {
"message": "Request-URI Too Long",
"description": "The server will not accept the request, because the URL is too long. Occurs when you convert a POST request to a GET request with a long query information"
},
"415": {
"message": "Unsupported Media Type",
"description": "The server will not accept the request, because the media type is not supported"
},
"416": {
"message": "Requested Range Not Satisfiable",
"description": "The client has asked for a portion of the file, but the server cannot supply that portion"
},
"417": {
"message": "Expectation Failed",
"description": "The server cannot meet the requirements of the Expect request-header field"
},
"418": {
"message": "I'm a teapot",
"description": "Any attempt to brew coffee with a teapot should result in the error code \"418 I'm a teapot\". The resulting entity body MAY be short and stout"
},
"421": {
"message": "Misdirected Request",
"description": "The request was directed at a server that is not able to produce a response (for example because a connection reuse)"
},
"422": {
"message": "Unprocessable Entity",
"description": "The request was well-formed but was unable to be followed due to semantic errors"
},
"423": {
"message": "Locked",
"description": "The resource that is being accessed is locked"
},
"424": {
"message": "Failed Dependency",
"description": "The request failed due to failure of a previous request (e.g., a PROPPATCH)"
},
"426": {
"message": "Upgrade Required",
"description": "The client should switch to a different protocol such as TLS\/1.0, given in the Upgrade header field"
},
"428": {
"message": "Precondition Required",
"description": "The origin server requires the request to be conditional"
},
"429": {
"message": "Too Many Requests",
"description": "The user has sent too many requests in a given amount of time. Intended for use with rate limiting schemes"
},
"431": {
"message": "Request Header Fields Too Large",
"description": "The server is unwilling to process the request because either an individual header field, or all the header fields collectively, are too large"
},
"451": {
"message": "Unavailable For Legal Reasons",
"description": "A server operator has received a legal demand to deny access to a resource or to a set of resources that includes the requested resource"
},
"5xx": {
"message": "Server Error",
"description": ""
},
"500": {
"message": "Internal Server Error",
"description": "An error has occured in a server side script, a no more specific message is suitable"
},
"501": {
"message": "Not Implemented",
"description": "The server either does not recognize the request method, or it lacks the ability to fulfill the request"
},
"502": {
"message": "Bad Gateway",
"description": "The server was acting as a gateway or proxy and received an invalid response from the upstream server"
},
"503": {
"message": "Service Unavailable",
"description": "The server is currently unavailable (overloaded or down)"
},
"504": {
"message": "Gateway Timeout",
"description": "The server was acting as a gateway or proxy and did not receive a timely response from the upstream server"
},
"505": {
"message": "HTTP Version Not Supported",
"description": "The server does not support the HTTP protocol version used in the request"
},
"511": {
"message": "Network Authentication Required",
"description": "The client needs to authenticate to gain network access"
}
}