@tsed/exceptions 6.67.0 → 6.69.0-rc.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (109) hide show
  1. package/lib/index.js +505 -9
  2. package/lib/index.js.map +1 -1
  3. package/lib/index.modern.js +457 -0
  4. package/lib/index.modern.js.map +1 -0
  5. package/package.json +9 -5
  6. package/lib/clientErrors/BadMapping.js +0 -13
  7. package/lib/clientErrors/BadMapping.js.map +0 -1
  8. package/lib/clientErrors/BadRequest.js +0 -12
  9. package/lib/clientErrors/BadRequest.js.map +0 -1
  10. package/lib/clientErrors/Conflict.js +0 -12
  11. package/lib/clientErrors/Conflict.js.map +0 -1
  12. package/lib/clientErrors/ExpectationFailed.js +0 -12
  13. package/lib/clientErrors/ExpectationFailed.js.map +0 -1
  14. package/lib/clientErrors/Forbidden.js +0 -12
  15. package/lib/clientErrors/Forbidden.js.map +0 -1
  16. package/lib/clientErrors/Gone.js +0 -12
  17. package/lib/clientErrors/Gone.js.map +0 -1
  18. package/lib/clientErrors/ImATeapot.js +0 -13
  19. package/lib/clientErrors/ImATeapot.js.map +0 -1
  20. package/lib/clientErrors/LengthRequired.js +0 -12
  21. package/lib/clientErrors/LengthRequired.js.map +0 -1
  22. package/lib/clientErrors/MethodNotAllowed.js +0 -12
  23. package/lib/clientErrors/MethodNotAllowed.js.map +0 -1
  24. package/lib/clientErrors/MisdirectedRequest.js +0 -12
  25. package/lib/clientErrors/MisdirectedRequest.js.map +0 -1
  26. package/lib/clientErrors/NotAcceptable.js +0 -12
  27. package/lib/clientErrors/NotAcceptable.js.map +0 -1
  28. package/lib/clientErrors/NotFound.js +0 -12
  29. package/lib/clientErrors/NotFound.js.map +0 -1
  30. package/lib/clientErrors/PaymentRequired.js +0 -12
  31. package/lib/clientErrors/PaymentRequired.js.map +0 -1
  32. package/lib/clientErrors/PreconditionFailed.js +0 -12
  33. package/lib/clientErrors/PreconditionFailed.js.map +0 -1
  34. package/lib/clientErrors/PreconditionRequired.js +0 -12
  35. package/lib/clientErrors/PreconditionRequired.js.map +0 -1
  36. package/lib/clientErrors/ProxyAuthentificationRequired.js +0 -12
  37. package/lib/clientErrors/ProxyAuthentificationRequired.js.map +0 -1
  38. package/lib/clientErrors/RequestEntityTooLarge.js +0 -12
  39. package/lib/clientErrors/RequestEntityTooLarge.js.map +0 -1
  40. package/lib/clientErrors/RequestHeaderFieldsTooLarge.js +0 -12
  41. package/lib/clientErrors/RequestHeaderFieldsTooLarge.js.map +0 -1
  42. package/lib/clientErrors/RequestRangeUnsatisfiable.js +0 -12
  43. package/lib/clientErrors/RequestRangeUnsatisfiable.js.map +0 -1
  44. package/lib/clientErrors/RequestTimeout.js +0 -12
  45. package/lib/clientErrors/RequestTimeout.js.map +0 -1
  46. package/lib/clientErrors/RequestURITooLong.js +0 -12
  47. package/lib/clientErrors/RequestURITooLong.js.map +0 -1
  48. package/lib/clientErrors/TooManyRequests.js +0 -12
  49. package/lib/clientErrors/TooManyRequests.js.map +0 -1
  50. package/lib/clientErrors/Unauthorized.js +0 -12
  51. package/lib/clientErrors/Unauthorized.js.map +0 -1
  52. package/lib/clientErrors/UnavailableForLegalReasons.js +0 -12
  53. package/lib/clientErrors/UnavailableForLegalReasons.js.map +0 -1
  54. package/lib/clientErrors/UnprocessableEntity.js +0 -12
  55. package/lib/clientErrors/UnprocessableEntity.js.map +0 -1
  56. package/lib/clientErrors/UnsupportedMediaType.js +0 -12
  57. package/lib/clientErrors/UnsupportedMediaType.js.map +0 -1
  58. package/lib/clientErrors/UpgradeRequired.js +0 -12
  59. package/lib/clientErrors/UpgradeRequired.js.map +0 -1
  60. package/lib/clientErrors/index.js +0 -31
  61. package/lib/clientErrors/index.js.map +0 -1
  62. package/lib/constants/statuses.js +0 -9
  63. package/lib/constants/statuses.js.map +0 -1
  64. package/lib/core/Exception.js +0 -61
  65. package/lib/core/Exception.js.map +0 -1
  66. package/lib/core/index.js +0 -5
  67. package/lib/core/index.js.map +0 -1
  68. package/lib/redirections/MovedPermanently.js +0 -12
  69. package/lib/redirections/MovedPermanently.js.map +0 -1
  70. package/lib/redirections/MovedTemporarily.js +0 -13
  71. package/lib/redirections/MovedTemporarily.js.map +0 -1
  72. package/lib/redirections/MultipleChoices.js +0 -12
  73. package/lib/redirections/MultipleChoices.js.map +0 -1
  74. package/lib/redirections/NotModified.js +0 -12
  75. package/lib/redirections/NotModified.js.map +0 -1
  76. package/lib/redirections/PermanentRedirect.js +0 -12
  77. package/lib/redirections/PermanentRedirect.js.map +0 -1
  78. package/lib/redirections/SeeOther.js +0 -12
  79. package/lib/redirections/SeeOther.js.map +0 -1
  80. package/lib/redirections/TemporaryRedirect.js +0 -12
  81. package/lib/redirections/TemporaryRedirect.js.map +0 -1
  82. package/lib/redirections/TooManyRedirects.js +0 -12
  83. package/lib/redirections/TooManyRedirects.js.map +0 -1
  84. package/lib/redirections/UseProxy.js +0 -12
  85. package/lib/redirections/UseProxy.js.map +0 -1
  86. package/lib/redirections/index.js +0 -13
  87. package/lib/redirections/index.js.map +0 -1
  88. package/lib/serverErrors/BadGateway.js +0 -12
  89. package/lib/serverErrors/BadGateway.js.map +0 -1
  90. package/lib/serverErrors/BandwidthLimitExceeded.js +0 -12
  91. package/lib/serverErrors/BandwidthLimitExceeded.js.map +0 -1
  92. package/lib/serverErrors/GatewayTimeout.js +0 -12
  93. package/lib/serverErrors/GatewayTimeout.js.map +0 -1
  94. package/lib/serverErrors/InternalServerError.js +0 -12
  95. package/lib/serverErrors/InternalServerError.js.map +0 -1
  96. package/lib/serverErrors/NetworkAuthenticationRequired.js +0 -12
  97. package/lib/serverErrors/NetworkAuthenticationRequired.js.map +0 -1
  98. package/lib/serverErrors/NotExtended.js +0 -12
  99. package/lib/serverErrors/NotExtended.js.map +0 -1
  100. package/lib/serverErrors/NotImplemented.js +0 -12
  101. package/lib/serverErrors/NotImplemented.js.map +0 -1
  102. package/lib/serverErrors/ProxyError.js +0 -13
  103. package/lib/serverErrors/ProxyError.js.map +0 -1
  104. package/lib/serverErrors/ServiceUnvailable.js +0 -12
  105. package/lib/serverErrors/ServiceUnvailable.js.map +0 -1
  106. package/lib/serverErrors/VariantAlsoNegotiates.js +0 -12
  107. package/lib/serverErrors/VariantAlsoNegotiates.js.map +0 -1
  108. package/lib/serverErrors/index.js +0 -14
  109. package/lib/serverErrors/index.js.map +0 -1
package/lib/index.js CHANGED
@@ -1,9 +1,505 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- tslib_1.__exportStar(require("./core"), exports);
5
- tslib_1.__exportStar(require("./constants/statuses"), exports);
6
- tslib_1.__exportStar(require("./clientErrors"), exports);
7
- tslib_1.__exportStar(require("./redirections"), exports);
8
- tslib_1.__exportStar(require("./serverErrors"), exports);
9
- //# sourceMappingURL=index.js.map
1
+ var schema = require('@tsed/schema');
2
+
3
+ function _extends() {
4
+ _extends = Object.assign || function (target) {
5
+ for (var i = 1; i < arguments.length; i++) {
6
+ var source = arguments[i];
7
+
8
+ for (var key in source) {
9
+ if (Object.prototype.hasOwnProperty.call(source, key)) {
10
+ target[key] = source[key];
11
+ }
12
+ }
13
+ }
14
+
15
+ return target;
16
+ };
17
+
18
+ return _extends.apply(this, arguments);
19
+ }
20
+
21
+ class Exception extends Error {
22
+ constructor(status = 500, message = "", origin) {
23
+ super(message);
24
+ /**
25
+ * Exception base name
26
+ * @type {string}
27
+ */
28
+
29
+ this.name = "HTTP_EXCEPTION";
30
+ /**
31
+ * Exception type
32
+ * @type {string}
33
+ */
34
+
35
+ this.type = "HTTP_EXCEPTION";
36
+ /**
37
+ * Headers must be sent to the response
38
+ */
39
+
40
+ this.headers = {};
41
+ this.status = status;
42
+ this.message = message;
43
+ this.name = schema.getStatusConstant(status);
44
+ this.setOrigin(origin);
45
+ }
46
+
47
+ setHeaders(headers) {
48
+ this.headers = _extends({}, this.headers, headers);
49
+ return this;
50
+ }
51
+
52
+ setHeader(key, value) {
53
+ this.headers[key] = value;
54
+ return this;
55
+ }
56
+
57
+ setOrigin(origin) {
58
+ if (origin) {
59
+ if (origin instanceof Error) {
60
+ this.origin = origin;
61
+ this.message = `${this.message}, innerException: ${this.origin.message}`.trim();
62
+ } else if (typeof origin === "string") {
63
+ this.origin = new Error(origin);
64
+ this.message = `${this.message}, innerException: ${this.origin.message}`.trim();
65
+ } else {
66
+ this.body = origin;
67
+ }
68
+ }
69
+ }
70
+
71
+ toString() {
72
+ return `${this.name}(${this.status}): ${this.message} `.trim();
73
+ }
74
+
75
+ }
76
+ class HTTPException extends Exception {}
77
+
78
+ /**
79
+ *
80
+ */
81
+
82
+ const HTTP_STATUSES = schema.HTTP_STATUS_MESSAGES;
83
+
84
+ class BadMapping extends Exception {
85
+ constructor(message, origin) {
86
+ super(BadMapping.STATUS, message, origin);
87
+ this.name = "BAD_MAPPING";
88
+ }
89
+
90
+ }
91
+ BadMapping.STATUS = 421;
92
+
93
+ class BadRequest extends Exception {
94
+ constructor(message, origin) {
95
+ super(BadRequest.STATUS, message, origin);
96
+ }
97
+
98
+ }
99
+ BadRequest.STATUS = 400;
100
+
101
+ class Conflict extends Exception {
102
+ constructor(message, origin) {
103
+ super(Conflict.STATUS, message, origin);
104
+ }
105
+
106
+ }
107
+ Conflict.STATUS = 409;
108
+
109
+ class ExpectationFailed extends Exception {
110
+ constructor(message, origin) {
111
+ super(ExpectationFailed.STATUS, message, origin);
112
+ }
113
+
114
+ }
115
+ ExpectationFailed.STATUS = 417;
116
+
117
+ class Forbidden extends Exception {
118
+ constructor(message, origin) {
119
+ super(Forbidden.STATUS, message, origin);
120
+ }
121
+
122
+ }
123
+ Forbidden.STATUS = 403;
124
+
125
+ class Gone extends Exception {
126
+ constructor(message, origin) {
127
+ super(Gone.STATUS, message, origin);
128
+ }
129
+
130
+ }
131
+ Gone.STATUS = 410;
132
+
133
+ class ImATeapot extends Exception {
134
+ constructor(message, origin) {
135
+ super(ImATeapot.STATUS, message, origin);
136
+ this.name = "IM_A_TEAPOT";
137
+ }
138
+
139
+ }
140
+ ImATeapot.STATUS = 418;
141
+
142
+ class LengthRequired extends Exception {
143
+ constructor(message, origin) {
144
+ super(LengthRequired.STATUS, message, origin);
145
+ }
146
+
147
+ }
148
+ LengthRequired.STATUS = 411;
149
+
150
+ class MethodNotAllowed extends Exception {
151
+ constructor(message, origin) {
152
+ super(MethodNotAllowed.STATUS, message, origin);
153
+ }
154
+
155
+ }
156
+ MethodNotAllowed.STATUS = 405;
157
+
158
+ class MisdirectedRequest extends Exception {
159
+ constructor(message, origin) {
160
+ super(MisdirectedRequest.STATUS, message, origin);
161
+ }
162
+
163
+ }
164
+ MisdirectedRequest.STATUS = 421;
165
+
166
+ class NotAcceptable extends Exception {
167
+ constructor(message, origin = "You must accept content-type " + message) {
168
+ super(NotAcceptable.STATUS, origin);
169
+ }
170
+
171
+ }
172
+ NotAcceptable.STATUS = 406;
173
+
174
+ class NotFound extends Exception {
175
+ constructor(message, origin) {
176
+ super(NotFound.STATUS, message, origin);
177
+ }
178
+
179
+ }
180
+ NotFound.STATUS = 404;
181
+
182
+ class PaymentRequired extends Exception {
183
+ constructor(message, origin) {
184
+ super(PaymentRequired.STATUS, message, origin);
185
+ }
186
+
187
+ }
188
+ PaymentRequired.STATUS = 402;
189
+
190
+ class PreconditionFailed extends Exception {
191
+ constructor(message, origin) {
192
+ super(PreconditionFailed.STATUS, message, origin);
193
+ }
194
+
195
+ }
196
+ PreconditionFailed.STATUS = 412;
197
+
198
+ class PreconditionRequired extends Exception {
199
+ constructor(message, origin) {
200
+ super(PreconditionRequired.STATUS, message, origin);
201
+ }
202
+
203
+ }
204
+ PreconditionRequired.STATUS = 428;
205
+
206
+ class ProxyAuthentificationRequired extends Exception {
207
+ constructor(message, origin) {
208
+ super(ProxyAuthentificationRequired.STATUS, message, origin);
209
+ }
210
+
211
+ }
212
+ ProxyAuthentificationRequired.STATUS = 407;
213
+
214
+ class RequestRangeUnsatisfiable extends Exception {
215
+ constructor(message, origin) {
216
+ super(RequestRangeUnsatisfiable.STATUS, message, origin);
217
+ }
218
+
219
+ }
220
+ RequestRangeUnsatisfiable.STATUS = 416;
221
+
222
+ class RequestEntityTooLarge extends Exception {
223
+ constructor(message, origin) {
224
+ super(RequestEntityTooLarge.STATUS, message, origin);
225
+ }
226
+
227
+ }
228
+ RequestEntityTooLarge.STATUS = 413;
229
+
230
+ class RequestHeaderFieldsTooLarge extends Exception {
231
+ constructor(message, origin) {
232
+ super(RequestHeaderFieldsTooLarge.STATUS, message, origin);
233
+ }
234
+
235
+ }
236
+ RequestHeaderFieldsTooLarge.STATUS = 431;
237
+
238
+ class RequestTimeout extends Exception {
239
+ constructor(message, origin) {
240
+ super(RequestTimeout.STATUS, message, origin);
241
+ }
242
+
243
+ }
244
+ RequestTimeout.STATUS = 408;
245
+
246
+ class RequestURITooLong extends Exception {
247
+ constructor(message, origin) {
248
+ super(RequestURITooLong.STATUS, message, origin);
249
+ }
250
+
251
+ }
252
+ RequestURITooLong.STATUS = 414;
253
+
254
+ class TooManyRequests extends Exception {
255
+ constructor(message, origin) {
256
+ super(TooManyRequests.STATUS, message, origin);
257
+ }
258
+
259
+ }
260
+ TooManyRequests.STATUS = 429;
261
+
262
+ class Unauthorized extends Exception {
263
+ constructor(message, origin) {
264
+ super(Unauthorized.STATUS, message, origin);
265
+ }
266
+
267
+ }
268
+ Unauthorized.STATUS = 401;
269
+
270
+ class UnsupportedMediaType extends Exception {
271
+ constructor(message, origin) {
272
+ super(UnsupportedMediaType.STATUS, message, origin);
273
+ }
274
+
275
+ }
276
+ UnsupportedMediaType.STATUS = 415;
277
+
278
+ class UpgradeRequired extends Exception {
279
+ constructor(message, origin) {
280
+ super(UpgradeRequired.STATUS, message, origin);
281
+ }
282
+
283
+ }
284
+ UpgradeRequired.STATUS = 426;
285
+
286
+ class UnavailableForLegalReasons extends Exception {
287
+ constructor(message, origin) {
288
+ super(UnavailableForLegalReasons.STATUS, message, origin);
289
+ }
290
+
291
+ }
292
+ UnavailableForLegalReasons.STATUS = 451;
293
+
294
+ class UnprocessableEntity extends Exception {
295
+ constructor(message, origin) {
296
+ super(UnprocessableEntity.STATUS, message, origin);
297
+ }
298
+
299
+ }
300
+ UnprocessableEntity.STATUS = 422;
301
+
302
+ class MovedPermanently extends Exception {
303
+ constructor(message, origin) {
304
+ super(MovedPermanently.STATUS, message, origin);
305
+ }
306
+
307
+ }
308
+ MovedPermanently.STATUS = 301;
309
+
310
+ class MovedTemporarily extends Exception {
311
+ constructor(message, origin) {
312
+ super(MovedTemporarily.STATUS, message, origin);
313
+ this.name = "MOVED_TEMPORARILY";
314
+ }
315
+
316
+ }
317
+ MovedTemporarily.STATUS = 302;
318
+
319
+ class MultipleChoices extends Exception {
320
+ constructor(message, origin) {
321
+ super(MultipleChoices.STATUS, message, origin);
322
+ }
323
+
324
+ }
325
+ MultipleChoices.STATUS = 300;
326
+
327
+ class NotModified extends Exception {
328
+ constructor(message, origin) {
329
+ super(NotModified.STATUS, message, origin);
330
+ }
331
+
332
+ }
333
+ NotModified.STATUS = 304;
334
+
335
+ class PermanentRedirect extends Exception {
336
+ constructor(message, origin) {
337
+ super(PermanentRedirect.STATUS, message, origin);
338
+ }
339
+
340
+ }
341
+ PermanentRedirect.STATUS = 308;
342
+
343
+ class SeeOther extends Exception {
344
+ constructor(message, origin) {
345
+ super(SeeOther.STATUS, message, origin);
346
+ }
347
+
348
+ }
349
+ SeeOther.STATUS = 303;
350
+
351
+ class TemporaryRedirect extends Exception {
352
+ constructor(message, origin) {
353
+ super(TemporaryRedirect.STATUS, message, origin);
354
+ }
355
+
356
+ }
357
+ TemporaryRedirect.STATUS = 307;
358
+
359
+ class TooManyRedirects extends Exception {
360
+ constructor(message, origin) {
361
+ super(TooManyRedirects.STATUS, message, origin);
362
+ }
363
+
364
+ }
365
+ TooManyRedirects.STATUS = 310;
366
+
367
+ class UseProxy extends Exception {
368
+ constructor(message, origin) {
369
+ super(UseProxy.STATUS, message, origin);
370
+ }
371
+
372
+ }
373
+ UseProxy.STATUS = 305;
374
+
375
+ class BadGateway extends Exception {
376
+ constructor(message, origin) {
377
+ super(BadGateway.STATUS, message, origin);
378
+ }
379
+
380
+ }
381
+ BadGateway.STATUS = 502;
382
+
383
+ class GatewayTimeout extends Exception {
384
+ constructor(message, origin) {
385
+ super(GatewayTimeout.STATUS, message, origin);
386
+ }
387
+
388
+ }
389
+ GatewayTimeout.STATUS = 504;
390
+
391
+ class InternalServerError extends Exception {
392
+ constructor(message, origin) {
393
+ super(InternalServerError.STATUS, message, origin);
394
+ }
395
+
396
+ }
397
+ InternalServerError.STATUS = 500;
398
+
399
+ class NotImplemented extends Exception {
400
+ constructor(message, origin) {
401
+ super(NotImplemented.STATUS, message, origin);
402
+ }
403
+
404
+ }
405
+ NotImplemented.STATUS = 501;
406
+
407
+ class ProxyError extends Exception {
408
+ constructor(message, origin) {
409
+ super(ProxyError.STATUS, message, origin);
410
+ this.name = "PROXY_ERROR";
411
+ }
412
+
413
+ }
414
+ ProxyError.STATUS = 502;
415
+
416
+ class ServiceUnvailable extends Exception {
417
+ constructor(message, origin) {
418
+ super(ServiceUnvailable.STATUS, message, origin);
419
+ }
420
+
421
+ }
422
+ ServiceUnvailable.STATUS = 503;
423
+
424
+ class NetworkAuthenticationRequired extends Exception {
425
+ constructor(message, origin) {
426
+ super(NetworkAuthenticationRequired.STATUS, message, origin);
427
+ }
428
+
429
+ }
430
+ NetworkAuthenticationRequired.STATUS = 511;
431
+
432
+ class NotExtended extends Exception {
433
+ constructor(message, origin) {
434
+ super(NotExtended.STATUS, message, origin);
435
+ }
436
+
437
+ }
438
+ NotExtended.STATUS = 510;
439
+
440
+ class VariantAlsoNegotiates extends Exception {
441
+ constructor(message, origin) {
442
+ super(VariantAlsoNegotiates.STATUS, message, origin);
443
+ }
444
+
445
+ }
446
+ VariantAlsoNegotiates.STATUS = 506;
447
+
448
+ class BandwidthLimitExceeded extends Exception {
449
+ constructor(message, origin) {
450
+ super(BandwidthLimitExceeded.STATUS, message, origin);
451
+ }
452
+
453
+ }
454
+ BandwidthLimitExceeded.STATUS = 509;
455
+
456
+ exports.BadGateway = BadGateway;
457
+ exports.BadMapping = BadMapping;
458
+ exports.BadRequest = BadRequest;
459
+ exports.BandwidthLimitExceeded = BandwidthLimitExceeded;
460
+ exports.Conflict = Conflict;
461
+ exports.Exception = Exception;
462
+ exports.ExpectationFailed = ExpectationFailed;
463
+ exports.Forbidden = Forbidden;
464
+ exports.GatewayTimeout = GatewayTimeout;
465
+ exports.Gone = Gone;
466
+ exports.HTTPException = HTTPException;
467
+ exports.HTTP_STATUSES = HTTP_STATUSES;
468
+ exports.ImATeapot = ImATeapot;
469
+ exports.InternalServerError = InternalServerError;
470
+ exports.LengthRequired = LengthRequired;
471
+ exports.MethodNotAllowed = MethodNotAllowed;
472
+ exports.MisdirectedRequest = MisdirectedRequest;
473
+ exports.MovedPermanently = MovedPermanently;
474
+ exports.MovedTemporarily = MovedTemporarily;
475
+ exports.MultipleChoices = MultipleChoices;
476
+ exports.NetworkAuthenticationRequired = NetworkAuthenticationRequired;
477
+ exports.NotAcceptable = NotAcceptable;
478
+ exports.NotExtended = NotExtended;
479
+ exports.NotFound = NotFound;
480
+ exports.NotImplemented = NotImplemented;
481
+ exports.NotModified = NotModified;
482
+ exports.PaymentRequired = PaymentRequired;
483
+ exports.PermanentRedirect = PermanentRedirect;
484
+ exports.PreconditionFailed = PreconditionFailed;
485
+ exports.PreconditionRequired = PreconditionRequired;
486
+ exports.ProxyAuthentificationRequired = ProxyAuthentificationRequired;
487
+ exports.ProxyError = ProxyError;
488
+ exports.RequestEntityTooLarge = RequestEntityTooLarge;
489
+ exports.RequestHeaderFieldsTooLarge = RequestHeaderFieldsTooLarge;
490
+ exports.RequestRangeUnsatisfiable = RequestRangeUnsatisfiable;
491
+ exports.RequestTimeout = RequestTimeout;
492
+ exports.RequestURITooLong = RequestURITooLong;
493
+ exports.SeeOther = SeeOther;
494
+ exports.ServiceUnvailable = ServiceUnvailable;
495
+ exports.TemporaryRedirect = TemporaryRedirect;
496
+ exports.TooManyRedirects = TooManyRedirects;
497
+ exports.TooManyRequests = TooManyRequests;
498
+ exports.Unauthorized = Unauthorized;
499
+ exports.UnavailableForLegalReasons = UnavailableForLegalReasons;
500
+ exports.UnprocessableEntity = UnprocessableEntity;
501
+ exports.UnsupportedMediaType = UnsupportedMediaType;
502
+ exports.UpgradeRequired = UpgradeRequired;
503
+ exports.UseProxy = UseProxy;
504
+ exports.VariantAlsoNegotiates = VariantAlsoNegotiates;
505
+ //# sourceMappingURL=index.js.map