@tsed/exceptions 7.83.3 → 8.0.0-alpha.10

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 (161) hide show
  1. package/lib/esm/clientErrors/BadMapping.js.map +1 -1
  2. package/lib/esm/clientErrors/ImATeapot.js.map +1 -1
  3. package/lib/esm/core/Exception.js.map +1 -1
  4. package/lib/esm/redirections/MovedTemporarily.js.map +1 -1
  5. package/lib/esm/serverErrors/ProxyError.js.map +1 -1
  6. package/package.json +17 -15
  7. package/lib/cjs/clientErrors/BadMapping.js +0 -13
  8. package/lib/cjs/clientErrors/BadMapping.js.map +0 -1
  9. package/lib/cjs/clientErrors/BadRequest.js +0 -12
  10. package/lib/cjs/clientErrors/BadRequest.js.map +0 -1
  11. package/lib/cjs/clientErrors/Conflict.js +0 -12
  12. package/lib/cjs/clientErrors/Conflict.js.map +0 -1
  13. package/lib/cjs/clientErrors/ExpectationFailed.js +0 -12
  14. package/lib/cjs/clientErrors/ExpectationFailed.js.map +0 -1
  15. package/lib/cjs/clientErrors/Forbidden.js +0 -12
  16. package/lib/cjs/clientErrors/Forbidden.js.map +0 -1
  17. package/lib/cjs/clientErrors/Gone.js +0 -12
  18. package/lib/cjs/clientErrors/Gone.js.map +0 -1
  19. package/lib/cjs/clientErrors/ImATeapot.js +0 -13
  20. package/lib/cjs/clientErrors/ImATeapot.js.map +0 -1
  21. package/lib/cjs/clientErrors/LengthRequired.js +0 -12
  22. package/lib/cjs/clientErrors/LengthRequired.js.map +0 -1
  23. package/lib/cjs/clientErrors/MethodNotAllowed.js +0 -12
  24. package/lib/cjs/clientErrors/MethodNotAllowed.js.map +0 -1
  25. package/lib/cjs/clientErrors/MisdirectedRequest.js +0 -12
  26. package/lib/cjs/clientErrors/MisdirectedRequest.js.map +0 -1
  27. package/lib/cjs/clientErrors/NotAcceptable.js +0 -12
  28. package/lib/cjs/clientErrors/NotAcceptable.js.map +0 -1
  29. package/lib/cjs/clientErrors/NotFound.js +0 -12
  30. package/lib/cjs/clientErrors/NotFound.js.map +0 -1
  31. package/lib/cjs/clientErrors/PaymentRequired.js +0 -12
  32. package/lib/cjs/clientErrors/PaymentRequired.js.map +0 -1
  33. package/lib/cjs/clientErrors/PreconditionFailed.js +0 -12
  34. package/lib/cjs/clientErrors/PreconditionFailed.js.map +0 -1
  35. package/lib/cjs/clientErrors/PreconditionRequired.js +0 -12
  36. package/lib/cjs/clientErrors/PreconditionRequired.js.map +0 -1
  37. package/lib/cjs/clientErrors/ProxyAuthentificationRequired.js +0 -12
  38. package/lib/cjs/clientErrors/ProxyAuthentificationRequired.js.map +0 -1
  39. package/lib/cjs/clientErrors/RequestEntityTooLarge.js +0 -12
  40. package/lib/cjs/clientErrors/RequestEntityTooLarge.js.map +0 -1
  41. package/lib/cjs/clientErrors/RequestHeaderFieldsTooLarge.js +0 -12
  42. package/lib/cjs/clientErrors/RequestHeaderFieldsTooLarge.js.map +0 -1
  43. package/lib/cjs/clientErrors/RequestRangeUnsatisfiable.js +0 -12
  44. package/lib/cjs/clientErrors/RequestRangeUnsatisfiable.js.map +0 -1
  45. package/lib/cjs/clientErrors/RequestTimeout.js +0 -12
  46. package/lib/cjs/clientErrors/RequestTimeout.js.map +0 -1
  47. package/lib/cjs/clientErrors/RequestURITooLong.js +0 -12
  48. package/lib/cjs/clientErrors/RequestURITooLong.js.map +0 -1
  49. package/lib/cjs/clientErrors/TooManyRequests.js +0 -12
  50. package/lib/cjs/clientErrors/TooManyRequests.js.map +0 -1
  51. package/lib/cjs/clientErrors/Unauthorized.js +0 -12
  52. package/lib/cjs/clientErrors/Unauthorized.js.map +0 -1
  53. package/lib/cjs/clientErrors/UnavailableForLegalReasons.js +0 -12
  54. package/lib/cjs/clientErrors/UnavailableForLegalReasons.js.map +0 -1
  55. package/lib/cjs/clientErrors/UnprocessableEntity.js +0 -12
  56. package/lib/cjs/clientErrors/UnprocessableEntity.js.map +0 -1
  57. package/lib/cjs/clientErrors/UnsupportedMediaType.js +0 -12
  58. package/lib/cjs/clientErrors/UnsupportedMediaType.js.map +0 -1
  59. package/lib/cjs/clientErrors/UpgradeRequired.js +0 -12
  60. package/lib/cjs/clientErrors/UpgradeRequired.js.map +0 -1
  61. package/lib/cjs/core/ClientException.js +0 -12
  62. package/lib/cjs/core/ClientException.js.map +0 -1
  63. package/lib/cjs/core/Exception.js +0 -82
  64. package/lib/cjs/core/Exception.js.map +0 -1
  65. package/lib/cjs/core/RedirectException.js +0 -12
  66. package/lib/cjs/core/RedirectException.js.map +0 -1
  67. package/lib/cjs/core/ServerException.js +0 -12
  68. package/lib/cjs/core/ServerException.js.map +0 -1
  69. package/lib/cjs/core/StatusFamily.js +0 -10
  70. package/lib/cjs/core/StatusFamily.js.map +0 -1
  71. package/lib/cjs/index.js +0 -57
  72. package/lib/cjs/index.js.map +0 -1
  73. package/lib/cjs/package.json +0 -3
  74. package/lib/cjs/redirections/MovedPermanently.js +0 -12
  75. package/lib/cjs/redirections/MovedPermanently.js.map +0 -1
  76. package/lib/cjs/redirections/MovedTemporarily.js +0 -13
  77. package/lib/cjs/redirections/MovedTemporarily.js.map +0 -1
  78. package/lib/cjs/redirections/MultipleChoices.js +0 -12
  79. package/lib/cjs/redirections/MultipleChoices.js.map +0 -1
  80. package/lib/cjs/redirections/NotModified.js +0 -12
  81. package/lib/cjs/redirections/NotModified.js.map +0 -1
  82. package/lib/cjs/redirections/PermanentRedirect.js +0 -12
  83. package/lib/cjs/redirections/PermanentRedirect.js.map +0 -1
  84. package/lib/cjs/redirections/SeeOther.js +0 -12
  85. package/lib/cjs/redirections/SeeOther.js.map +0 -1
  86. package/lib/cjs/redirections/TemporaryRedirect.js +0 -12
  87. package/lib/cjs/redirections/TemporaryRedirect.js.map +0 -1
  88. package/lib/cjs/redirections/UseProxy.js +0 -12
  89. package/lib/cjs/redirections/UseProxy.js.map +0 -1
  90. package/lib/cjs/serverErrors/BadGateway.js +0 -12
  91. package/lib/cjs/serverErrors/BadGateway.js.map +0 -1
  92. package/lib/cjs/serverErrors/BandwidthLimitExceeded.js +0 -12
  93. package/lib/cjs/serverErrors/BandwidthLimitExceeded.js.map +0 -1
  94. package/lib/cjs/serverErrors/GatewayTimeout.js +0 -12
  95. package/lib/cjs/serverErrors/GatewayTimeout.js.map +0 -1
  96. package/lib/cjs/serverErrors/InternalServerError.js +0 -12
  97. package/lib/cjs/serverErrors/InternalServerError.js.map +0 -1
  98. package/lib/cjs/serverErrors/NetworkAuthenticationRequired.js +0 -12
  99. package/lib/cjs/serverErrors/NetworkAuthenticationRequired.js.map +0 -1
  100. package/lib/cjs/serverErrors/NotExtended.js +0 -12
  101. package/lib/cjs/serverErrors/NotExtended.js.map +0 -1
  102. package/lib/cjs/serverErrors/NotImplemented.js +0 -12
  103. package/lib/cjs/serverErrors/NotImplemented.js.map +0 -1
  104. package/lib/cjs/serverErrors/ProxyError.js +0 -13
  105. package/lib/cjs/serverErrors/ProxyError.js.map +0 -1
  106. package/lib/cjs/serverErrors/ServiceUnavailable.js +0 -12
  107. package/lib/cjs/serverErrors/ServiceUnavailable.js.map +0 -1
  108. package/lib/cjs/serverErrors/VariantAlsoNegotiates.js +0 -12
  109. package/lib/cjs/serverErrors/VariantAlsoNegotiates.js.map +0 -1
  110. package/lib/esm/package.json +0 -3
  111. package/lib/types-esm/clientErrors/BadMapping.d.ts +0 -6
  112. package/lib/types-esm/clientErrors/BadRequest.d.ts +0 -5
  113. package/lib/types-esm/clientErrors/Conflict.d.ts +0 -5
  114. package/lib/types-esm/clientErrors/ExpectationFailed.d.ts +0 -5
  115. package/lib/types-esm/clientErrors/Forbidden.d.ts +0 -5
  116. package/lib/types-esm/clientErrors/Gone.d.ts +0 -5
  117. package/lib/types-esm/clientErrors/ImATeapot.d.ts +0 -6
  118. package/lib/types-esm/clientErrors/LengthRequired.d.ts +0 -5
  119. package/lib/types-esm/clientErrors/MethodNotAllowed.d.ts +0 -5
  120. package/lib/types-esm/clientErrors/MisdirectedRequest.d.ts +0 -5
  121. package/lib/types-esm/clientErrors/NotAcceptable.d.ts +0 -5
  122. package/lib/types-esm/clientErrors/NotFound.d.ts +0 -5
  123. package/lib/types-esm/clientErrors/PaymentRequired.d.ts +0 -5
  124. package/lib/types-esm/clientErrors/PreconditionFailed.d.ts +0 -5
  125. package/lib/types-esm/clientErrors/PreconditionRequired.d.ts +0 -5
  126. package/lib/types-esm/clientErrors/ProxyAuthentificationRequired.d.ts +0 -5
  127. package/lib/types-esm/clientErrors/RequestEntityTooLarge.d.ts +0 -5
  128. package/lib/types-esm/clientErrors/RequestHeaderFieldsTooLarge.d.ts +0 -5
  129. package/lib/types-esm/clientErrors/RequestRangeUnsatisfiable.d.ts +0 -5
  130. package/lib/types-esm/clientErrors/RequestTimeout.d.ts +0 -5
  131. package/lib/types-esm/clientErrors/RequestURITooLong.d.ts +0 -5
  132. package/lib/types-esm/clientErrors/TooManyRequests.d.ts +0 -5
  133. package/lib/types-esm/clientErrors/Unauthorized.d.ts +0 -5
  134. package/lib/types-esm/clientErrors/UnavailableForLegalReasons.d.ts +0 -5
  135. package/lib/types-esm/clientErrors/UnprocessableEntity.d.ts +0 -5
  136. package/lib/types-esm/clientErrors/UnsupportedMediaType.d.ts +0 -5
  137. package/lib/types-esm/clientErrors/UpgradeRequired.d.ts +0 -5
  138. package/lib/types-esm/core/ClientException.d.ts +0 -4
  139. package/lib/types-esm/core/Exception.d.ts +0 -48
  140. package/lib/types-esm/core/RedirectException.d.ts +0 -4
  141. package/lib/types-esm/core/ServerException.d.ts +0 -4
  142. package/lib/types-esm/core/StatusFamily.d.ts +0 -5
  143. package/lib/types-esm/index.d.ts +0 -53
  144. package/lib/types-esm/redirections/MovedPermanently.d.ts +0 -5
  145. package/lib/types-esm/redirections/MovedTemporarily.d.ts +0 -6
  146. package/lib/types-esm/redirections/MultipleChoices.d.ts +0 -5
  147. package/lib/types-esm/redirections/NotModified.d.ts +0 -5
  148. package/lib/types-esm/redirections/PermanentRedirect.d.ts +0 -5
  149. package/lib/types-esm/redirections/SeeOther.d.ts +0 -5
  150. package/lib/types-esm/redirections/TemporaryRedirect.d.ts +0 -5
  151. package/lib/types-esm/redirections/UseProxy.d.ts +0 -5
  152. package/lib/types-esm/serverErrors/BadGateway.d.ts +0 -5
  153. package/lib/types-esm/serverErrors/BandwidthLimitExceeded.d.ts +0 -5
  154. package/lib/types-esm/serverErrors/GatewayTimeout.d.ts +0 -5
  155. package/lib/types-esm/serverErrors/InternalServerError.d.ts +0 -5
  156. package/lib/types-esm/serverErrors/NetworkAuthenticationRequired.d.ts +0 -5
  157. package/lib/types-esm/serverErrors/NotExtended.d.ts +0 -5
  158. package/lib/types-esm/serverErrors/NotImplemented.d.ts +0 -5
  159. package/lib/types-esm/serverErrors/ProxyError.d.ts +0 -6
  160. package/lib/types-esm/serverErrors/ServiceUnavailable.d.ts +0 -5
  161. package/lib/types-esm/serverErrors/VariantAlsoNegotiates.d.ts +0 -5
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class PaymentRequired extends ClientException {
3
- static readonly STATUS = 402;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class PreconditionFailed extends ClientException {
3
- static readonly STATUS = 412;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class PreconditionRequired extends ClientException {
3
- static readonly STATUS = 428;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class ProxyAuthentificationRequired extends ClientException {
3
- static readonly STATUS = 407;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class RequestEntityTooLarge extends ClientException {
3
- static readonly STATUS = 413;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class RequestHeaderFieldsTooLarge extends ClientException {
3
- static readonly STATUS = 431;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class RequestRangeUnsatisfiable extends ClientException {
3
- static readonly STATUS = 416;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class RequestTimeout extends ClientException {
3
- static readonly STATUS = 408;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class RequestURITooLong extends ClientException {
3
- static readonly STATUS = 414;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class TooManyRequests extends ClientException {
3
- static readonly STATUS = 429;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class Unauthorized extends ClientException {
3
- static readonly STATUS = 401;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class UnavailableForLegalReasons extends ClientException {
3
- static readonly STATUS = 451;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class UnprocessableEntity extends ClientException {
3
- static readonly STATUS = 422;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class UnsupportedMediaType extends ClientException {
3
- static readonly STATUS = 415;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ClientException } from "../core/ClientException.js";
2
- export declare class UpgradeRequired extends ClientException {
3
- static readonly STATUS = 426;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,4 +0,0 @@
1
- import { Exception } from "./Exception.js";
2
- export declare class ClientException extends Exception {
3
- constructor(status: number, message: string, origin?: Error | string | any);
4
- }
@@ -1,48 +0,0 @@
1
- import { StatusFamily } from "./StatusFamily.js";
2
- export declare class Exception extends Error {
3
- #private;
4
- /**
5
- * Exception base name
6
- * @type {string}
7
- */
8
- name: string;
9
- /**
10
- * Message of the exception
11
- */
12
- message: string;
13
- /**
14
- * Exception type
15
- * @type {string}
16
- */
17
- type: string;
18
- /**
19
- * Stack calling
20
- */
21
- stack: string;
22
- origin: Error & any;
23
- /**
24
- * HTTP Code Status
25
- */
26
- status: number;
27
- /**
28
- *
29
- */
30
- body: any;
31
- /**
32
- * Headers must be sent to the response
33
- */
34
- headers: {
35
- [key: string]: any;
36
- };
37
- [key: string]: any;
38
- static validate(status: number, family: StatusFamily): number;
39
- constructor(status?: number, message?: string, origin?: Error | string | any);
40
- setHeaders(headers: {
41
- [key: string]: any;
42
- }): this;
43
- setHeader(key: string, value: any): this;
44
- setOrigin(origin: Error | string | any): void;
45
- toString(): string;
46
- }
47
- export declare class HTTPException extends Exception {
48
- }
@@ -1,4 +0,0 @@
1
- import { Exception } from "./Exception.js";
2
- export declare class RedirectException extends Exception {
3
- constructor(status: number, message: string, origin?: Error | string | any);
4
- }
@@ -1,4 +0,0 @@
1
- import { Exception } from "./Exception.js";
2
- export declare class ServerException extends Exception {
3
- constructor(status: number, message: string, origin?: Error | string | any);
4
- }
@@ -1,5 +0,0 @@
1
- export declare enum StatusFamily {
2
- "3xx" = "3xx",
3
- "4xx" = "4xx",
4
- "5xx" = "5xx"
5
- }
@@ -1,53 +0,0 @@
1
- /**
2
- * @file Automatically generated by @tsed/barrels.
3
- */
4
- export * from "./clientErrors/BadMapping.js";
5
- export * from "./clientErrors/BadRequest.js";
6
- export * from "./clientErrors/Conflict.js";
7
- export * from "./clientErrors/ExpectationFailed.js";
8
- export * from "./clientErrors/Forbidden.js";
9
- export * from "./clientErrors/Gone.js";
10
- export * from "./clientErrors/ImATeapot.js";
11
- export * from "./clientErrors/LengthRequired.js";
12
- export * from "./clientErrors/MethodNotAllowed.js";
13
- export * from "./clientErrors/MisdirectedRequest.js";
14
- export * from "./clientErrors/NotAcceptable.js";
15
- export * from "./clientErrors/NotFound.js";
16
- export * from "./clientErrors/PaymentRequired.js";
17
- export * from "./clientErrors/PreconditionFailed.js";
18
- export * from "./clientErrors/PreconditionRequired.js";
19
- export * from "./clientErrors/ProxyAuthentificationRequired.js";
20
- export * from "./clientErrors/RequestEntityTooLarge.js";
21
- export * from "./clientErrors/RequestHeaderFieldsTooLarge.js";
22
- export * from "./clientErrors/RequestRangeUnsatisfiable.js";
23
- export * from "./clientErrors/RequestTimeout.js";
24
- export * from "./clientErrors/RequestURITooLong.js";
25
- export * from "./clientErrors/TooManyRequests.js";
26
- export * from "./clientErrors/Unauthorized.js";
27
- export * from "./clientErrors/UnavailableForLegalReasons.js";
28
- export * from "./clientErrors/UnprocessableEntity.js";
29
- export * from "./clientErrors/UnsupportedMediaType.js";
30
- export * from "./clientErrors/UpgradeRequired.js";
31
- export * from "./core/ClientException.js";
32
- export * from "./core/Exception.js";
33
- export * from "./core/RedirectException.js";
34
- export * from "./core/ServerException.js";
35
- export * from "./core/StatusFamily.js";
36
- export * from "./redirections/MovedPermanently.js";
37
- export * from "./redirections/MovedTemporarily.js";
38
- export * from "./redirections/MultipleChoices.js";
39
- export * from "./redirections/NotModified.js";
40
- export * from "./redirections/PermanentRedirect.js";
41
- export * from "./redirections/SeeOther.js";
42
- export * from "./redirections/TemporaryRedirect.js";
43
- export * from "./redirections/UseProxy.js";
44
- export * from "./serverErrors/BadGateway.js";
45
- export * from "./serverErrors/BandwidthLimitExceeded.js";
46
- export * from "./serverErrors/GatewayTimeout.js";
47
- export * from "./serverErrors/InternalServerError.js";
48
- export * from "./serverErrors/NetworkAuthenticationRequired.js";
49
- export * from "./serverErrors/NotExtended.js";
50
- export * from "./serverErrors/NotImplemented.js";
51
- export * from "./serverErrors/ProxyError.js";
52
- export * from "./serverErrors/ServiceUnavailable.js";
53
- export * from "./serverErrors/VariantAlsoNegotiates.js";
@@ -1,5 +0,0 @@
1
- import { RedirectException } from "../core/RedirectException.js";
2
- export declare class MovedPermanently extends RedirectException {
3
- static readonly STATUS = 301;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,6 +0,0 @@
1
- import { RedirectException } from "../core/RedirectException.js";
2
- export declare class MovedTemporarily extends RedirectException {
3
- static readonly STATUS = 302;
4
- name: string;
5
- constructor(message: string, origin?: Error | string | any);
6
- }
@@ -1,5 +0,0 @@
1
- import { RedirectException } from "../core/RedirectException.js";
2
- export declare class MultipleChoices extends RedirectException {
3
- static readonly STATUS = 300;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { RedirectException } from "../core/RedirectException.js";
2
- export declare class NotModified extends RedirectException {
3
- static readonly STATUS = 304;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { RedirectException } from "../core/RedirectException.js";
2
- export declare class PermanentRedirect extends RedirectException {
3
- static readonly STATUS = 308;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { RedirectException } from "../core/RedirectException.js";
2
- export declare class SeeOther extends RedirectException {
3
- static readonly STATUS = 303;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { RedirectException } from "../core/RedirectException.js";
2
- export declare class TemporaryRedirect extends RedirectException {
3
- static readonly STATUS = 307;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { RedirectException } from "../core/RedirectException.js";
2
- export declare class UseProxy extends RedirectException {
3
- static readonly STATUS = 305;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class BadGateway extends ServerException {
3
- static readonly STATUS = 502;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class BandwidthLimitExceeded extends ServerException {
3
- static readonly STATUS = 509;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class GatewayTimeout extends ServerException {
3
- static readonly STATUS = 504;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class InternalServerError extends ServerException {
3
- static readonly STATUS = 500;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class NetworkAuthenticationRequired extends ServerException {
3
- static readonly STATUS = 511;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class NotExtended extends ServerException {
3
- static readonly STATUS = 510;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class NotImplemented extends ServerException {
3
- static readonly STATUS = 501;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,6 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class ProxyError extends ServerException {
3
- static readonly STATUS = 502;
4
- name: string;
5
- constructor(message: string, origin?: Error | string | any);
6
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class ServiceUnavailable extends ServerException {
3
- static readonly STATUS = 503;
4
- constructor(message: string, origin?: Error | string | any);
5
- }
@@ -1,5 +0,0 @@
1
- import { ServerException } from "../core/ServerException.js";
2
- export declare class VariantAlsoNegotiates extends ServerException {
3
- static readonly STATUS = 506;
4
- constructor(message: string, origin?: Error | string | any);
5
- }