@tsed/exceptions 7.0.0-beta.2 → 7.0.0-beta.20

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 (220) hide show
  1. package/jest.config.js +14 -0
  2. package/lib/cjs/clientErrors/BadMapping.js +2 -2
  3. package/lib/cjs/clientErrors/BadMapping.js.map +1 -1
  4. package/lib/cjs/clientErrors/BadRequest.js +1 -1
  5. package/lib/cjs/clientErrors/BadRequest.js.map +1 -1
  6. package/lib/cjs/clientErrors/Conflict.js +1 -1
  7. package/lib/cjs/clientErrors/Conflict.js.map +1 -1
  8. package/lib/cjs/clientErrors/ExpectationFailed.js +1 -1
  9. package/lib/cjs/clientErrors/ExpectationFailed.js.map +1 -1
  10. package/lib/cjs/clientErrors/Forbidden.js +1 -1
  11. package/lib/cjs/clientErrors/Forbidden.js.map +1 -1
  12. package/lib/cjs/clientErrors/Gone.js +1 -1
  13. package/lib/cjs/clientErrors/Gone.js.map +1 -1
  14. package/lib/cjs/clientErrors/ImATeapot.js +2 -2
  15. package/lib/cjs/clientErrors/ImATeapot.js.map +1 -1
  16. package/lib/cjs/clientErrors/LengthRequired.js +1 -1
  17. package/lib/cjs/clientErrors/LengthRequired.js.map +1 -1
  18. package/lib/cjs/clientErrors/MethodNotAllowed.js +1 -1
  19. package/lib/cjs/clientErrors/MethodNotAllowed.js.map +1 -1
  20. package/lib/cjs/clientErrors/MisdirectedRequest.js +1 -1
  21. package/lib/cjs/clientErrors/MisdirectedRequest.js.map +1 -1
  22. package/lib/cjs/clientErrors/NotAcceptable.js +1 -1
  23. package/lib/cjs/clientErrors/NotAcceptable.js.map +1 -1
  24. package/lib/cjs/clientErrors/NotFound.js +1 -1
  25. package/lib/cjs/clientErrors/NotFound.js.map +1 -1
  26. package/lib/cjs/clientErrors/PaymentRequired.js +1 -1
  27. package/lib/cjs/clientErrors/PaymentRequired.js.map +1 -1
  28. package/lib/cjs/clientErrors/PreconditionFailed.js +1 -1
  29. package/lib/cjs/clientErrors/PreconditionFailed.js.map +1 -1
  30. package/lib/cjs/clientErrors/PreconditionRequired.js +1 -1
  31. package/lib/cjs/clientErrors/PreconditionRequired.js.map +1 -1
  32. package/lib/cjs/clientErrors/ProxyAuthentificationRequired.js +1 -1
  33. package/lib/cjs/clientErrors/ProxyAuthentificationRequired.js.map +1 -1
  34. package/lib/cjs/clientErrors/RequestEntityTooLarge.js +1 -1
  35. package/lib/cjs/clientErrors/RequestEntityTooLarge.js.map +1 -1
  36. package/lib/cjs/clientErrors/RequestHeaderFieldsTooLarge.js +1 -1
  37. package/lib/cjs/clientErrors/RequestHeaderFieldsTooLarge.js.map +1 -1
  38. package/lib/cjs/clientErrors/RequestRangeUnsatisfiable.js +1 -1
  39. package/lib/cjs/clientErrors/RequestRangeUnsatisfiable.js.map +1 -1
  40. package/lib/cjs/clientErrors/RequestTimeout.js +1 -1
  41. package/lib/cjs/clientErrors/RequestTimeout.js.map +1 -1
  42. package/lib/cjs/clientErrors/RequestURITooLong.js +1 -1
  43. package/lib/cjs/clientErrors/RequestURITooLong.js.map +1 -1
  44. package/lib/cjs/clientErrors/TooManyRequests.js +1 -1
  45. package/lib/cjs/clientErrors/TooManyRequests.js.map +1 -1
  46. package/lib/cjs/clientErrors/Unauthorized.js +1 -1
  47. package/lib/cjs/clientErrors/Unauthorized.js.map +1 -1
  48. package/lib/cjs/clientErrors/UnavailableForLegalReasons.js +1 -1
  49. package/lib/cjs/clientErrors/UnavailableForLegalReasons.js.map +1 -1
  50. package/lib/cjs/clientErrors/UnprocessableEntity.js +1 -1
  51. package/lib/cjs/clientErrors/UnprocessableEntity.js.map +1 -1
  52. package/lib/cjs/clientErrors/UnsupportedMediaType.js +1 -1
  53. package/lib/cjs/clientErrors/UnsupportedMediaType.js.map +1 -1
  54. package/lib/cjs/clientErrors/UpgradeRequired.js +1 -1
  55. package/lib/cjs/clientErrors/UpgradeRequired.js.map +1 -1
  56. package/lib/cjs/core/Exception.js +38 -16
  57. package/lib/cjs/core/Exception.js.map +1 -1
  58. package/lib/cjs/index.js +49 -4
  59. package/lib/cjs/index.js.map +1 -1
  60. package/lib/cjs/package.json +3 -0
  61. package/lib/cjs/redirections/MovedPermanently.js +1 -1
  62. package/lib/cjs/redirections/MovedPermanently.js.map +1 -1
  63. package/lib/cjs/redirections/MovedTemporarily.js +2 -2
  64. package/lib/cjs/redirections/MovedTemporarily.js.map +1 -1
  65. package/lib/cjs/redirections/MultipleChoices.js +1 -1
  66. package/lib/cjs/redirections/MultipleChoices.js.map +1 -1
  67. package/lib/cjs/redirections/NotModified.js +1 -1
  68. package/lib/cjs/redirections/NotModified.js.map +1 -1
  69. package/lib/cjs/redirections/PermanentRedirect.js +1 -1
  70. package/lib/cjs/redirections/PermanentRedirect.js.map +1 -1
  71. package/lib/cjs/redirections/SeeOther.js +1 -1
  72. package/lib/cjs/redirections/SeeOther.js.map +1 -1
  73. package/lib/cjs/redirections/TemporaryRedirect.js +1 -1
  74. package/lib/cjs/redirections/TemporaryRedirect.js.map +1 -1
  75. package/lib/cjs/redirections/UseProxy.js +1 -1
  76. package/lib/cjs/redirections/UseProxy.js.map +1 -1
  77. package/lib/cjs/serverErrors/BadGateway.js +1 -1
  78. package/lib/cjs/serverErrors/BadGateway.js.map +1 -1
  79. package/lib/cjs/serverErrors/BandwidthLimitExceeded.js +1 -1
  80. package/lib/cjs/serverErrors/BandwidthLimitExceeded.js.map +1 -1
  81. package/lib/cjs/serverErrors/GatewayTimeout.js +1 -1
  82. package/lib/cjs/serverErrors/GatewayTimeout.js.map +1 -1
  83. package/lib/cjs/serverErrors/InternalServerError.js +1 -1
  84. package/lib/cjs/serverErrors/InternalServerError.js.map +1 -1
  85. package/lib/cjs/serverErrors/NetworkAuthenticationRequired.js +1 -1
  86. package/lib/cjs/serverErrors/NetworkAuthenticationRequired.js.map +1 -1
  87. package/lib/cjs/serverErrors/NotExtended.js +1 -1
  88. package/lib/cjs/serverErrors/NotExtended.js.map +1 -1
  89. package/lib/cjs/serverErrors/NotImplemented.js +1 -1
  90. package/lib/cjs/serverErrors/NotImplemented.js.map +1 -1
  91. package/lib/cjs/serverErrors/ProxyError.js +2 -2
  92. package/lib/cjs/serverErrors/ProxyError.js.map +1 -1
  93. package/lib/cjs/serverErrors/ServiceUnvailable.js +1 -1
  94. package/lib/cjs/serverErrors/ServiceUnvailable.js.map +1 -1
  95. package/lib/cjs/serverErrors/VariantAlsoNegotiates.js +1 -1
  96. package/lib/cjs/serverErrors/VariantAlsoNegotiates.js.map +1 -1
  97. package/lib/esm/clientErrors/BadMapping.js +3 -3
  98. package/lib/esm/clientErrors/BadMapping.js.map +1 -1
  99. package/lib/esm/clientErrors/BadRequest.js +2 -2
  100. package/lib/esm/clientErrors/BadRequest.js.map +1 -1
  101. package/lib/esm/clientErrors/Conflict.js +2 -2
  102. package/lib/esm/clientErrors/Conflict.js.map +1 -1
  103. package/lib/esm/clientErrors/ExpectationFailed.js +2 -2
  104. package/lib/esm/clientErrors/ExpectationFailed.js.map +1 -1
  105. package/lib/esm/clientErrors/Forbidden.js +2 -2
  106. package/lib/esm/clientErrors/Forbidden.js.map +1 -1
  107. package/lib/esm/clientErrors/Gone.js +2 -2
  108. package/lib/esm/clientErrors/Gone.js.map +1 -1
  109. package/lib/esm/clientErrors/ImATeapot.js +3 -3
  110. package/lib/esm/clientErrors/ImATeapot.js.map +1 -1
  111. package/lib/esm/clientErrors/LengthRequired.js +2 -2
  112. package/lib/esm/clientErrors/LengthRequired.js.map +1 -1
  113. package/lib/esm/clientErrors/MethodNotAllowed.js +2 -2
  114. package/lib/esm/clientErrors/MethodNotAllowed.js.map +1 -1
  115. package/lib/esm/clientErrors/MisdirectedRequest.js +2 -2
  116. package/lib/esm/clientErrors/MisdirectedRequest.js.map +1 -1
  117. package/lib/esm/clientErrors/NotAcceptable.js +2 -2
  118. package/lib/esm/clientErrors/NotAcceptable.js.map +1 -1
  119. package/lib/esm/clientErrors/NotFound.js +2 -2
  120. package/lib/esm/clientErrors/NotFound.js.map +1 -1
  121. package/lib/esm/clientErrors/PaymentRequired.js +2 -2
  122. package/lib/esm/clientErrors/PaymentRequired.js.map +1 -1
  123. package/lib/esm/clientErrors/PreconditionFailed.js +2 -2
  124. package/lib/esm/clientErrors/PreconditionFailed.js.map +1 -1
  125. package/lib/esm/clientErrors/PreconditionRequired.js +2 -2
  126. package/lib/esm/clientErrors/PreconditionRequired.js.map +1 -1
  127. package/lib/esm/clientErrors/ProxyAuthentificationRequired.js +2 -2
  128. package/lib/esm/clientErrors/ProxyAuthentificationRequired.js.map +1 -1
  129. package/lib/esm/clientErrors/RequestEntityTooLarge.js +2 -2
  130. package/lib/esm/clientErrors/RequestEntityTooLarge.js.map +1 -1
  131. package/lib/esm/clientErrors/RequestHeaderFieldsTooLarge.js +2 -2
  132. package/lib/esm/clientErrors/RequestHeaderFieldsTooLarge.js.map +1 -1
  133. package/lib/esm/clientErrors/RequestRangeUnsatisfiable.js +2 -2
  134. package/lib/esm/clientErrors/RequestRangeUnsatisfiable.js.map +1 -1
  135. package/lib/esm/clientErrors/RequestTimeout.js +2 -2
  136. package/lib/esm/clientErrors/RequestTimeout.js.map +1 -1
  137. package/lib/esm/clientErrors/RequestURITooLong.js +2 -2
  138. package/lib/esm/clientErrors/RequestURITooLong.js.map +1 -1
  139. package/lib/esm/clientErrors/TooManyRequests.js +2 -2
  140. package/lib/esm/clientErrors/TooManyRequests.js.map +1 -1
  141. package/lib/esm/clientErrors/Unauthorized.js +2 -2
  142. package/lib/esm/clientErrors/Unauthorized.js.map +1 -1
  143. package/lib/esm/clientErrors/UnavailableForLegalReasons.js +2 -2
  144. package/lib/esm/clientErrors/UnavailableForLegalReasons.js.map +1 -1
  145. package/lib/esm/clientErrors/UnprocessableEntity.js +2 -2
  146. package/lib/esm/clientErrors/UnprocessableEntity.js.map +1 -1
  147. package/lib/esm/clientErrors/UnsupportedMediaType.js +2 -2
  148. package/lib/esm/clientErrors/UnsupportedMediaType.js.map +1 -1
  149. package/lib/esm/clientErrors/UpgradeRequired.js +2 -2
  150. package/lib/esm/clientErrors/UpgradeRequired.js.map +1 -1
  151. package/lib/esm/core/Exception.js +36 -15
  152. package/lib/esm/core/Exception.js.map +1 -1
  153. package/lib/esm/index.js +49 -4
  154. package/lib/esm/index.js.map +1 -1
  155. package/lib/esm/package.json +3 -0
  156. package/lib/esm/redirections/MovedPermanently.js +2 -2
  157. package/lib/esm/redirections/MovedPermanently.js.map +1 -1
  158. package/lib/esm/redirections/MovedTemporarily.js +3 -3
  159. package/lib/esm/redirections/MovedTemporarily.js.map +1 -1
  160. package/lib/esm/redirections/MultipleChoices.js +2 -2
  161. package/lib/esm/redirections/MultipleChoices.js.map +1 -1
  162. package/lib/esm/redirections/NotModified.js +2 -2
  163. package/lib/esm/redirections/NotModified.js.map +1 -1
  164. package/lib/esm/redirections/PermanentRedirect.js +2 -2
  165. package/lib/esm/redirections/PermanentRedirect.js.map +1 -1
  166. package/lib/esm/redirections/SeeOther.js +2 -2
  167. package/lib/esm/redirections/SeeOther.js.map +1 -1
  168. package/lib/esm/redirections/TemporaryRedirect.js +2 -2
  169. package/lib/esm/redirections/TemporaryRedirect.js.map +1 -1
  170. package/lib/esm/redirections/UseProxy.js +2 -2
  171. package/lib/esm/redirections/UseProxy.js.map +1 -1
  172. package/lib/esm/serverErrors/BadGateway.js +2 -2
  173. package/lib/esm/serverErrors/BadGateway.js.map +1 -1
  174. package/lib/esm/serverErrors/BandwidthLimitExceeded.js +2 -2
  175. package/lib/esm/serverErrors/BandwidthLimitExceeded.js.map +1 -1
  176. package/lib/esm/serverErrors/GatewayTimeout.js +2 -2
  177. package/lib/esm/serverErrors/GatewayTimeout.js.map +1 -1
  178. package/lib/esm/serverErrors/InternalServerError.js +2 -2
  179. package/lib/esm/serverErrors/InternalServerError.js.map +1 -1
  180. package/lib/esm/serverErrors/NetworkAuthenticationRequired.js +2 -2
  181. package/lib/esm/serverErrors/NetworkAuthenticationRequired.js.map +1 -1
  182. package/lib/esm/serverErrors/NotExtended.js +2 -2
  183. package/lib/esm/serverErrors/NotExtended.js.map +1 -1
  184. package/lib/esm/serverErrors/NotImplemented.js +2 -2
  185. package/lib/esm/serverErrors/NotImplemented.js.map +1 -1
  186. package/lib/esm/serverErrors/ProxyError.js +3 -3
  187. package/lib/esm/serverErrors/ProxyError.js.map +1 -1
  188. package/lib/esm/serverErrors/ServiceUnvailable.js +2 -2
  189. package/lib/esm/serverErrors/ServiceUnvailable.js.map +1 -1
  190. package/lib/esm/serverErrors/VariantAlsoNegotiates.js +2 -2
  191. package/lib/esm/serverErrors/VariantAlsoNegotiates.js.map +1 -1
  192. package/lib/types/index.d.ts +49 -4
  193. package/package.json +17 -8
  194. package/readme.md +4 -4
  195. package/tsconfig.compile.esm.json +1 -12
  196. package/lib/cjs/clientErrors/index.js +0 -31
  197. package/lib/cjs/clientErrors/index.js.map +0 -1
  198. package/lib/cjs/core/index.js +0 -5
  199. package/lib/cjs/core/index.js.map +0 -1
  200. package/lib/cjs/redirections/TooManyRedirects.js +0 -12
  201. package/lib/cjs/redirections/TooManyRedirects.js.map +0 -1
  202. package/lib/cjs/redirections/index.js +0 -13
  203. package/lib/cjs/redirections/index.js.map +0 -1
  204. package/lib/cjs/serverErrors/index.js +0 -14
  205. package/lib/cjs/serverErrors/index.js.map +0 -1
  206. package/lib/esm/clientErrors/index.js +0 -28
  207. package/lib/esm/clientErrors/index.js.map +0 -1
  208. package/lib/esm/core/index.js +0 -2
  209. package/lib/esm/core/index.js.map +0 -1
  210. package/lib/esm/redirections/TooManyRedirects.js +0 -8
  211. package/lib/esm/redirections/TooManyRedirects.js.map +0 -1
  212. package/lib/esm/redirections/index.js +0 -10
  213. package/lib/esm/redirections/index.js.map +0 -1
  214. package/lib/esm/serverErrors/index.js +0 -11
  215. package/lib/esm/serverErrors/index.js.map +0 -1
  216. package/lib/types/clientErrors/index.d.ts +0 -27
  217. package/lib/types/core/index.d.ts +0 -1
  218. package/lib/types/redirections/TooManyRedirects.d.ts +0 -5
  219. package/lib/types/redirections/index.d.ts +0 -9
  220. package/lib/types/serverErrors/index.d.ts +0 -10
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class MovedPermanently extends Exception {
3
+ static STATUS = 301;
3
4
  constructor(message, origin) {
4
5
  super(MovedPermanently.STATUS, message, origin);
5
6
  }
6
7
  }
7
- MovedPermanently.STATUS = 301;
8
8
  //# sourceMappingURL=MovedPermanently.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MovedPermanently.js","sourceRoot":"","sources":["../../../src/redirections/MovedPermanently.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAG7C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAClD,CAAC;;AAJe,uBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class MovedPermanently extends Exception {\n static readonly STATUS = 301;\n\n constructor(message: string, origin?: Error | string | any) {\n super(MovedPermanently.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"MovedPermanently.js","sourceRoot":"","sources":["../../../src/redirections/MovedPermanently.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC7C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAClD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class MovedPermanently extends Exception {\n static readonly STATUS = 301;\n\n constructor(message: string, origin?: Error | string | any) {\n super(MovedPermanently.STATUS, message, origin);\n }\n}\n"]}
@@ -1,9 +1,9 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class MovedTemporarily extends Exception {
3
+ static STATUS = 302;
4
+ name = "MOVED_TEMPORARILY";
3
5
  constructor(message, origin) {
4
6
  super(MovedTemporarily.STATUS, message, origin);
5
- this.name = "MOVED_TEMPORARILY";
6
7
  }
7
8
  }
8
- MovedTemporarily.STATUS = 302;
9
9
  //# sourceMappingURL=MovedTemporarily.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MovedTemporarily.js","sourceRoot":"","sources":["../../../src/redirections/MovedTemporarily.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAI7C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAHlD,SAAI,GAAW,mBAAmB,CAAC;IAInC,CAAC;;AALe,uBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class MovedTemporarily extends Exception {\n static readonly STATUS = 302;\n name: string = \"MOVED_TEMPORARILY\";\n\n constructor(message: string, origin?: Error | string | any) {\n super(MovedTemporarily.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"MovedTemporarily.js","sourceRoot":"","sources":["../../../src/redirections/MovedTemporarily.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,gBAAiB,SAAQ,SAAS;IAC7C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAC7B,IAAI,GAAW,mBAAmB,CAAC;IAEnC,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAClD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class MovedTemporarily extends Exception {\n static readonly STATUS = 302;\n name: string = \"MOVED_TEMPORARILY\";\n\n constructor(message: string, origin?: Error | string | any) {\n super(MovedTemporarily.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class MultipleChoices extends Exception {
3
+ static STATUS = 300;
3
4
  constructor(message, origin) {
4
5
  super(MultipleChoices.STATUS, message, origin);
5
6
  }
6
7
  }
7
- MultipleChoices.STATUS = 300;
8
8
  //# sourceMappingURL=MultipleChoices.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"MultipleChoices.js","sourceRoot":"","sources":["../../../src/redirections/MultipleChoices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAG5C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;;AAJe,sBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class MultipleChoices extends Exception {\n static readonly STATUS = 300;\n\n constructor(message: string, origin?: Error | string | any) {\n super(MultipleChoices.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"MultipleChoices.js","sourceRoot":"","sources":["../../../src/redirections/MultipleChoices.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,eAAgB,SAAQ,SAAS;IAC5C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class MultipleChoices extends Exception {\n static readonly STATUS = 300;\n\n constructor(message: string, origin?: Error | string | any) {\n super(MultipleChoices.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class NotModified extends Exception {
3
+ static STATUS = 304;
3
4
  constructor(message, origin) {
4
5
  super(NotModified.STATUS, message, origin);
5
6
  }
6
7
  }
7
- NotModified.STATUS = 304;
8
8
  //# sourceMappingURL=NotModified.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotModified.js","sourceRoot":"","sources":["../../../src/redirections/NotModified.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,WAAY,SAAQ,SAAS;IAGxC,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC;;AAJe,kBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NotModified extends Exception {\n static readonly STATUS = 304;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NotModified.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"NotModified.js","sourceRoot":"","sources":["../../../src/redirections/NotModified.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,WAAY,SAAQ,SAAS;IACxC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NotModified extends Exception {\n static readonly STATUS = 304;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NotModified.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class PermanentRedirect extends Exception {
3
+ static STATUS = 308;
3
4
  constructor(message, origin) {
4
5
  super(PermanentRedirect.STATUS, message, origin);
5
6
  }
6
7
  }
7
- PermanentRedirect.STATUS = 308;
8
8
  //# sourceMappingURL=PermanentRedirect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"PermanentRedirect.js","sourceRoot":"","sources":["../../../src/redirections/PermanentRedirect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAG9C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;;AAJe,wBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class PermanentRedirect extends Exception {\n static readonly STATUS = 308;\n\n constructor(message: string, origin?: Error | string | any) {\n super(PermanentRedirect.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"PermanentRedirect.js","sourceRoot":"","sources":["../../../src/redirections/PermanentRedirect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAC9C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class PermanentRedirect extends Exception {\n static readonly STATUS = 308;\n\n constructor(message: string, origin?: Error | string | any) {\n super(PermanentRedirect.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class SeeOther extends Exception {
3
+ static STATUS = 303;
3
4
  constructor(message, origin) {
4
5
  super(SeeOther.STATUS, message, origin);
5
6
  }
6
7
  }
7
- SeeOther.STATUS = 303;
8
8
  //# sourceMappingURL=SeeOther.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SeeOther.js","sourceRoot":"","sources":["../../../src/redirections/SeeOther.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,QAAS,SAAQ,SAAS;IAGrC,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;;AAJe,eAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class SeeOther extends Exception {\n static readonly STATUS = 303;\n\n constructor(message: string, origin?: Error | string | any) {\n super(SeeOther.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"SeeOther.js","sourceRoot":"","sources":["../../../src/redirections/SeeOther.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,QAAS,SAAQ,SAAS;IACrC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class SeeOther extends Exception {\n static readonly STATUS = 303;\n\n constructor(message: string, origin?: Error | string | any) {\n super(SeeOther.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class TemporaryRedirect extends Exception {
3
+ static STATUS = 307;
3
4
  constructor(message, origin) {
4
5
  super(TemporaryRedirect.STATUS, message, origin);
5
6
  }
6
7
  }
7
- TemporaryRedirect.STATUS = 307;
8
8
  //# sourceMappingURL=TemporaryRedirect.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"TemporaryRedirect.js","sourceRoot":"","sources":["../../../src/redirections/TemporaryRedirect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAG9C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;;AAJe,wBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class TemporaryRedirect extends Exception {\n static readonly STATUS = 307;\n\n constructor(message: string, origin?: Error | string | any) {\n super(TemporaryRedirect.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"TemporaryRedirect.js","sourceRoot":"","sources":["../../../src/redirections/TemporaryRedirect.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAC9C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class TemporaryRedirect extends Exception {\n static readonly STATUS = 307;\n\n constructor(message: string, origin?: Error | string | any) {\n super(TemporaryRedirect.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class UseProxy extends Exception {
3
+ static STATUS = 305;
3
4
  constructor(message, origin) {
4
5
  super(UseProxy.STATUS, message, origin);
5
6
  }
6
7
  }
7
- UseProxy.STATUS = 305;
8
8
  //# sourceMappingURL=UseProxy.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"UseProxy.js","sourceRoot":"","sources":["../../../src/redirections/UseProxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,QAAS,SAAQ,SAAS;IAGrC,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;;AAJe,eAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class UseProxy extends Exception {\n static readonly STATUS = 305;\n\n constructor(message: string, origin?: Error | string | any) {\n super(UseProxy.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"UseProxy.js","sourceRoot":"","sources":["../../../src/redirections/UseProxy.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,QAAS,SAAQ,SAAS;IACrC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class UseProxy extends Exception {\n static readonly STATUS = 305;\n\n constructor(message: string, origin?: Error | string | any) {\n super(UseProxy.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class BadGateway extends Exception {
3
+ static STATUS = 502;
3
4
  constructor(message, origin) {
4
5
  super(BadGateway.STATUS, message, origin);
5
6
  }
6
7
  }
7
- BadGateway.STATUS = 502;
8
8
  //# sourceMappingURL=BadGateway.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BadGateway.js","sourceRoot":"","sources":["../../../src/serverErrors/BadGateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,UAAW,SAAQ,SAAS;IAGvC,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC5C,CAAC;;AAJe,iBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class BadGateway extends Exception {\n static readonly STATUS = 502;\n\n constructor(message: string, origin?: Error | string | any) {\n super(BadGateway.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"BadGateway.js","sourceRoot":"","sources":["../../../src/serverErrors/BadGateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,UAAW,SAAQ,SAAS;IACvC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC5C,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class BadGateway extends Exception {\n static readonly STATUS = 502;\n\n constructor(message: string, origin?: Error | string | any) {\n super(BadGateway.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class BandwidthLimitExceeded extends Exception {
3
+ static STATUS = 509;
3
4
  constructor(message, origin) {
4
5
  super(BandwidthLimitExceeded.STATUS, message, origin);
5
6
  }
6
7
  }
7
- BandwidthLimitExceeded.STATUS = 509;
8
8
  //# sourceMappingURL=BandwidthLimitExceeded.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BandwidthLimitExceeded.js","sourceRoot":"","sources":["../../../src/serverErrors/BandwidthLimitExceeded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,sBAAuB,SAAQ,SAAS;IAGnD,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC;;AAJe,6BAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class BandwidthLimitExceeded extends Exception {\n static readonly STATUS = 509;\n\n constructor(message: string, origin?: Error | string | any) {\n super(BandwidthLimitExceeded.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"BandwidthLimitExceeded.js","sourceRoot":"","sources":["../../../src/serverErrors/BandwidthLimitExceeded.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,sBAAuB,SAAQ,SAAS;IACnD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,sBAAsB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACxD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class BandwidthLimitExceeded extends Exception {\n static readonly STATUS = 509;\n\n constructor(message: string, origin?: Error | string | any) {\n super(BandwidthLimitExceeded.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class GatewayTimeout extends Exception {
3
+ static STATUS = 504;
3
4
  constructor(message, origin) {
4
5
  super(GatewayTimeout.STATUS, message, origin);
5
6
  }
6
7
  }
7
- GatewayTimeout.STATUS = 504;
8
8
  //# sourceMappingURL=GatewayTimeout.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"GatewayTimeout.js","sourceRoot":"","sources":["../../../src/serverErrors/GatewayTimeout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAG3C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;;AAJe,qBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class GatewayTimeout extends Exception {\n static readonly STATUS = 504;\n\n constructor(message: string, origin?: Error | string | any) {\n super(GatewayTimeout.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"GatewayTimeout.js","sourceRoot":"","sources":["../../../src/serverErrors/GatewayTimeout.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAC3C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class GatewayTimeout extends Exception {\n static readonly STATUS = 504;\n\n constructor(message: string, origin?: Error | string | any) {\n super(GatewayTimeout.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class InternalServerError extends Exception {
3
+ static STATUS = 500;
3
4
  constructor(message, origin) {
4
5
  super(InternalServerError.STATUS, message, origin);
5
6
  }
6
7
  }
7
- InternalServerError.STATUS = 500;
8
8
  //# sourceMappingURL=InternalServerError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"InternalServerError.js","sourceRoot":"","sources":["../../../src/serverErrors/InternalServerError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAGhD,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;;AAJe,0BAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class InternalServerError extends Exception {\n static readonly STATUS = 500;\n\n constructor(message: string, origin?: Error | string | any) {\n super(InternalServerError.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"InternalServerError.js","sourceRoot":"","sources":["../../../src/serverErrors/InternalServerError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,mBAAoB,SAAQ,SAAS;IAChD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class InternalServerError extends Exception {\n static readonly STATUS = 500;\n\n constructor(message: string, origin?: Error | string | any) {\n super(InternalServerError.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class NetworkAuthenticationRequired extends Exception {
3
+ static STATUS = 511;
3
4
  constructor(message, origin) {
4
5
  super(NetworkAuthenticationRequired.STATUS, message, origin);
5
6
  }
6
7
  }
7
- NetworkAuthenticationRequired.STATUS = 511;
8
8
  //# sourceMappingURL=NetworkAuthenticationRequired.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkAuthenticationRequired.js","sourceRoot":"","sources":["../../../src/serverErrors/NetworkAuthenticationRequired.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,6BAA8B,SAAQ,SAAS;IAG1D,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,6BAA6B,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC;;AAJe,oCAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NetworkAuthenticationRequired extends Exception {\n static readonly STATUS = 511;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NetworkAuthenticationRequired.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"NetworkAuthenticationRequired.js","sourceRoot":"","sources":["../../../src/serverErrors/NetworkAuthenticationRequired.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,6BAA8B,SAAQ,SAAS;IAC1D,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,6BAA6B,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC/D,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NetworkAuthenticationRequired extends Exception {\n static readonly STATUS = 511;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NetworkAuthenticationRequired.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class NotExtended extends Exception {
3
+ static STATUS = 510;
3
4
  constructor(message, origin) {
4
5
  super(NotExtended.STATUS, message, origin);
5
6
  }
6
7
  }
7
- NotExtended.STATUS = 510;
8
8
  //# sourceMappingURL=NotExtended.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotExtended.js","sourceRoot":"","sources":["../../../src/serverErrors/NotExtended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,WAAY,SAAQ,SAAS;IAGxC,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC;;AAJe,kBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NotExtended extends Exception {\n static readonly STATUS = 510;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NotExtended.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"NotExtended.js","sourceRoot":"","sources":["../../../src/serverErrors/NotExtended.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,WAAY,SAAQ,SAAS;IACxC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NotExtended extends Exception {\n static readonly STATUS = 510;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NotExtended.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class NotImplemented extends Exception {
3
+ static STATUS = 501;
3
4
  constructor(message, origin) {
4
5
  super(NotImplemented.STATUS, message, origin);
5
6
  }
6
7
  }
7
- NotImplemented.STATUS = 501;
8
8
  //# sourceMappingURL=NotImplemented.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"NotImplemented.js","sourceRoot":"","sources":["../../../src/serverErrors/NotImplemented.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAG3C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;;AAJe,qBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NotImplemented extends Exception {\n static readonly STATUS = 501;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NotImplemented.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"NotImplemented.js","sourceRoot":"","sources":["../../../src/serverErrors/NotImplemented.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,cAAe,SAAQ,SAAS;IAC3C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NotImplemented extends Exception {\n static readonly STATUS = 501;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NotImplemented.STATUS, message, origin);\n }\n}\n"]}
@@ -1,9 +1,9 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class ProxyError extends Exception {
3
+ static STATUS = 502;
4
+ name = "PROXY_ERROR";
3
5
  constructor(message, origin) {
4
6
  super(ProxyError.STATUS, message, origin);
5
- this.name = "PROXY_ERROR";
6
7
  }
7
8
  }
8
- ProxyError.STATUS = 502;
9
9
  //# sourceMappingURL=ProxyError.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ProxyError.js","sourceRoot":"","sources":["../../../src/serverErrors/ProxyError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,UAAW,SAAQ,SAAS;IAIvC,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAH5C,SAAI,GAAW,aAAa,CAAC;IAI7B,CAAC;;AALe,iBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class ProxyError extends Exception {\n static readonly STATUS = 502;\n name: string = \"PROXY_ERROR\";\n\n constructor(message: string, origin?: Error | string | any) {\n super(ProxyError.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"ProxyError.js","sourceRoot":"","sources":["../../../src/serverErrors/ProxyError.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,UAAW,SAAQ,SAAS;IACvC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAC7B,IAAI,GAAW,aAAa,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC5C,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class ProxyError extends Exception {\n static readonly STATUS = 502;\n name: string = \"PROXY_ERROR\";\n\n constructor(message: string, origin?: Error | string | any) {\n super(ProxyError.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class ServiceUnvailable extends Exception {
3
+ static STATUS = 503;
3
4
  constructor(message, origin) {
4
5
  super(ServiceUnvailable.STATUS, message, origin);
5
6
  }
6
7
  }
7
- ServiceUnvailable.STATUS = 503;
8
8
  //# sourceMappingURL=ServiceUnvailable.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ServiceUnvailable.js","sourceRoot":"","sources":["../../../src/serverErrors/ServiceUnvailable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAG9C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;;AAJe,wBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class ServiceUnvailable extends Exception {\n static readonly STATUS = 503;\n\n constructor(message: string, origin?: Error | string | any) {\n super(ServiceUnvailable.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"ServiceUnvailable.js","sourceRoot":"","sources":["../../../src/serverErrors/ServiceUnvailable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,iBAAkB,SAAQ,SAAS;IAC9C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class ServiceUnvailable extends Exception {\n static readonly STATUS = 503;\n\n constructor(message: string, origin?: Error | string | any) {\n super(ServiceUnvailable.STATUS, message, origin);\n }\n}\n"]}
@@ -1,8 +1,8 @@
1
- import { Exception } from "../core/Exception";
1
+ import { Exception } from "../core/Exception.js";
2
2
  export class VariantAlsoNegotiates extends Exception {
3
+ static STATUS = 506;
3
4
  constructor(message, origin) {
4
5
  super(VariantAlsoNegotiates.STATUS, message, origin);
5
6
  }
6
7
  }
7
- VariantAlsoNegotiates.STATUS = 506;
8
8
  //# sourceMappingURL=VariantAlsoNegotiates.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"VariantAlsoNegotiates.js","sourceRoot":"","sources":["../../../src/serverErrors/VariantAlsoNegotiates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAGlD,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,qBAAqB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACvD,CAAC;;AAJe,4BAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class VariantAlsoNegotiates extends Exception {\n static readonly STATUS = 506;\n\n constructor(message: string, origin?: Error | string | any) {\n super(VariantAlsoNegotiates.STATUS, message, origin);\n }\n}\n"]}
1
+ {"version":3,"file":"VariantAlsoNegotiates.js","sourceRoot":"","sources":["../../../src/serverErrors/VariantAlsoNegotiates.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,qBAAsB,SAAQ,SAAS;IAClD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,qBAAqB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACvD,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class VariantAlsoNegotiates extends Exception {\n static readonly STATUS = 506;\n\n constructor(message: string, origin?: Error | string | any) {\n super(VariantAlsoNegotiates.STATUS, message, origin);\n }\n}\n"]}
@@ -1,4 +1,49 @@
1
- export * from "./core";
2
- export * from "./clientErrors";
3
- export * from "./redirections";
4
- export * from "./serverErrors";
1
+ /**
2
+ * @file Automatically generated by barrelsby.
3
+ */
4
+ export * from "./clientErrors/BadMapping";
5
+ export * from "./clientErrors/BadRequest";
6
+ export * from "./clientErrors/Conflict";
7
+ export * from "./clientErrors/ExpectationFailed";
8
+ export * from "./clientErrors/Forbidden";
9
+ export * from "./clientErrors/Gone";
10
+ export * from "./clientErrors/ImATeapot";
11
+ export * from "./clientErrors/LengthRequired";
12
+ export * from "./clientErrors/MethodNotAllowed";
13
+ export * from "./clientErrors/MisdirectedRequest";
14
+ export * from "./clientErrors/NotAcceptable";
15
+ export * from "./clientErrors/NotFound";
16
+ export * from "./clientErrors/PaymentRequired";
17
+ export * from "./clientErrors/PreconditionFailed";
18
+ export * from "./clientErrors/PreconditionRequired";
19
+ export * from "./clientErrors/ProxyAuthentificationRequired";
20
+ export * from "./clientErrors/RequestEntityTooLarge";
21
+ export * from "./clientErrors/RequestHeaderFieldsTooLarge";
22
+ export * from "./clientErrors/RequestRangeUnsatisfiable";
23
+ export * from "./clientErrors/RequestTimeout";
24
+ export * from "./clientErrors/RequestURITooLong";
25
+ export * from "./clientErrors/TooManyRequests";
26
+ export * from "./clientErrors/Unauthorized";
27
+ export * from "./clientErrors/UnavailableForLegalReasons";
28
+ export * from "./clientErrors/UnprocessableEntity";
29
+ export * from "./clientErrors/UnsupportedMediaType";
30
+ export * from "./clientErrors/UpgradeRequired";
31
+ export * from "./core/Exception";
32
+ export * from "./redirections/MovedPermanently";
33
+ export * from "./redirections/MovedTemporarily";
34
+ export * from "./redirections/MultipleChoices";
35
+ export * from "./redirections/NotModified";
36
+ export * from "./redirections/PermanentRedirect";
37
+ export * from "./redirections/SeeOther";
38
+ export * from "./redirections/TemporaryRedirect";
39
+ export * from "./redirections/UseProxy";
40
+ export * from "./serverErrors/BadGateway";
41
+ export * from "./serverErrors/BandwidthLimitExceeded";
42
+ export * from "./serverErrors/GatewayTimeout";
43
+ export * from "./serverErrors/InternalServerError";
44
+ export * from "./serverErrors/NetworkAuthenticationRequired";
45
+ export * from "./serverErrors/NotExtended";
46
+ export * from "./serverErrors/NotImplemented";
47
+ export * from "./serverErrors/ProxyError";
48
+ export * from "./serverErrors/ServiceUnvailable";
49
+ export * from "./serverErrors/VariantAlsoNegotiates";
package/package.json CHANGED
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "name": "@tsed/exceptions",
3
- "version": "7.0.0-beta.2",
3
+ "version": "7.0.0-beta.20",
4
4
  "description": "HTTP exceptions module for Ts.ED Framework and other pure Express application",
5
5
  "private": false,
6
6
  "source": "./src/index.ts",
7
7
  "main": "./lib/cjs/index.js",
8
+ "module": "./lib/esm/index.js",
8
9
  "typings": "./lib/types/index.d.ts",
9
10
  "exports": {
10
11
  "types": "./lib/types/index.d.ts",
@@ -13,21 +14,29 @@
13
14
  "default": "./lib/esm/index.js"
14
15
  },
15
16
  "scripts": {
16
- "build": "yarn run build:esm && yarn run build:cjs",
17
+ "build": "yarn barrels && yarn run build:esm && yarn run build:cjs",
17
18
  "build:cjs": "tsc --build tsconfig.compile.json",
18
- "build:esm": "tsc --build tsconfig.compile.esm.json"
19
+ "build:esm": "tsc --build tsconfig.compile.esm.json",
20
+ "barrels": "yarn barrelsby --delete -d ./src -e \"\\.spec\\.ts\" -e \"__mock__\" -e \".benchmark.ts\"",
21
+ "test": "cross-env NODE_ENV=test yarn jest --max-workers=2"
19
22
  },
20
23
  "dependencies": {
21
- "@tsed/schema": "7.0.0-beta.2",
22
- "tslib": "2.2.0"
24
+ "change-case": "4.1.2",
25
+ "statuses": ">=2.0.1",
26
+ "tslib": "2.4.0"
27
+ },
28
+ "devDependencies": {
29
+ "@types/statuses": "2.0.0"
23
30
  },
24
- "devDependencies": {},
25
31
  "peerDependencies": {},
26
32
  "repository": "https://github.com/tsedio/tsed",
27
33
  "bugs": {
28
34
  "url": "https://github.com/tsedio/tsed/issues"
29
35
  },
30
- "homepage": "https://github.com/tsedio/tsed/tree/alpha/packages/specs/exceptions",
36
+ "homepage": "https://github.com/tsedio/tsed/tree/beta/packages/specs/exceptions",
31
37
  "author": "Romain Lenzotti",
32
- "license": "MIT"
38
+ "license": "MIT",
39
+ "publishConfig": {
40
+ "tag": "beta"
41
+ }
33
42
  }
package/readme.md CHANGED
@@ -11,7 +11,8 @@
11
11
  [![npm version](https://badge.fury.io/js/%40tsed%2Fcommon.svg)](https://badge.fury.io/js/%40tsed%2Fcommon)
12
12
  [![semantic-release](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg)](https://github.com/semantic-release/semantic-release)
13
13
  [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettier)
14
- [![backers](https://opencollective.com/tsed/tiers/badge.svg)](https://opencollective.com/tsed)
14
+ [![github](https://img.shields.io/static/v1?label=Github%20sponsor&message=%E2%9D%A4&logo=GitHub&color=%23fe8e86)](https://github.com/sponsors/romakita)
15
+ [![opencollective](https://img.shields.io/static/v1?label=OpenCollective%20sponsor&message=%E2%9D%A4&logo=OpenCollective&color=%23fe8e86)](https://opencollective.com/tsed)
15
16
 
16
17
  </div>
17
18
 
@@ -33,18 +34,17 @@ npm install --save @tsed/exceptions
33
34
  Documentation is available on [https://tsed.io/docs/exceptions](https://tsed.io/docs/exceptions)
34
35
 
35
36
  ## Contributors
37
+
36
38
  Please read [contributing guidelines here](https://tsed.io/CONTRIBUTING.html).
37
39
 
38
40
  <a href="https://github.com/tsedio/ts-express-decorators/graphs/contributors"><img src="https://opencollective.com/tsed/contributors.svg?width=890" /></a>
39
41
 
40
-
41
42
  ## Backers
42
43
 
43
44
  Thank you to all our backers! 🙏 [[Become a backer](https://opencollective.com/tsed#backer)]
44
45
 
45
46
  <a href="https://opencollective.com/tsed#backers" target="_blank"><img src="https://opencollective.com/tsed/tiers/backer.svg?width=890"></a>
46
47
 
47
-
48
48
  ## Sponsors
49
49
 
50
50
  Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [[Become a sponsor](https://opencollective.com/tsed#sponsor)]
@@ -53,7 +53,7 @@ Support this project by becoming a sponsor. Your logo will show up here with a l
53
53
 
54
54
  The MIT License (MIT)
55
55
 
56
- Copyright (c) 2016 - 2018 Romain Lenzotti
56
+ Copyright (c) 2016 - 2022 Romain Lenzotti
57
57
 
58
58
  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
59
59
 
@@ -8,16 +8,5 @@
8
8
  "declaration": true,
9
9
  "declarationDir": "./lib/types"
10
10
  },
11
- "exclude": [
12
- "node_modules",
13
- "test",
14
- "lib",
15
- "benchmark",
16
- "coverage",
17
- "spec",
18
- "**/*.benchmark.ts",
19
- "**/*.spec.ts",
20
- "keys",
21
- "jest.config.js"
22
- ]
11
+ "exclude": ["node_modules", "test", "lib", "benchmark", "coverage", "spec", "**/*.benchmark.ts", "**/*.spec.ts", "keys", "jest.config.js"]
23
12
  }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./BadMapping"), exports);
5
- (0, tslib_1.__exportStar)(require("./BadRequest"), exports);
6
- (0, tslib_1.__exportStar)(require("./Conflict"), exports);
7
- (0, tslib_1.__exportStar)(require("./ExpectationFailed"), exports);
8
- (0, tslib_1.__exportStar)(require("./Forbidden"), exports);
9
- (0, tslib_1.__exportStar)(require("./Gone"), exports);
10
- (0, tslib_1.__exportStar)(require("./ImATeapot"), exports);
11
- (0, tslib_1.__exportStar)(require("./LengthRequired"), exports);
12
- (0, tslib_1.__exportStar)(require("./MethodNotAllowed"), exports);
13
- (0, tslib_1.__exportStar)(require("./MisdirectedRequest"), exports);
14
- (0, tslib_1.__exportStar)(require("./NotAcceptable"), exports);
15
- (0, tslib_1.__exportStar)(require("./NotFound"), exports);
16
- (0, tslib_1.__exportStar)(require("./PaymentRequired"), exports);
17
- (0, tslib_1.__exportStar)(require("./PreconditionFailed"), exports);
18
- (0, tslib_1.__exportStar)(require("./PreconditionRequired"), exports);
19
- (0, tslib_1.__exportStar)(require("./ProxyAuthentificationRequired"), exports);
20
- (0, tslib_1.__exportStar)(require("./RequestRangeUnsatisfiable"), exports);
21
- (0, tslib_1.__exportStar)(require("./RequestEntityTooLarge"), exports);
22
- (0, tslib_1.__exportStar)(require("./RequestHeaderFieldsTooLarge"), exports);
23
- (0, tslib_1.__exportStar)(require("./RequestTimeout"), exports);
24
- (0, tslib_1.__exportStar)(require("./RequestURITooLong"), exports);
25
- (0, tslib_1.__exportStar)(require("./TooManyRequests"), exports);
26
- (0, tslib_1.__exportStar)(require("./Unauthorized"), exports);
27
- (0, tslib_1.__exportStar)(require("./UnsupportedMediaType"), exports);
28
- (0, tslib_1.__exportStar)(require("./UpgradeRequired"), exports);
29
- (0, tslib_1.__exportStar)(require("./UnavailableForLegalReasons"), exports);
30
- (0, tslib_1.__exportStar)(require("./UnprocessableEntity"), exports);
31
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/clientErrors/index.ts"],"names":[],"mappings":";;;AAAA,4DAA6B;AAC7B,4DAA6B;AAC7B,0DAA2B;AAC3B,mEAAoC;AACpC,2DAA4B;AAC5B,sDAAuB;AACvB,2DAA4B;AAC5B,gEAAiC;AACjC,kEAAmC;AACnC,oEAAqC;AACrC,+DAAgC;AAChC,0DAA2B;AAC3B,iEAAkC;AAClC,oEAAqC;AACrC,sEAAuC;AACvC,+EAAgD;AAChD,2EAA4C;AAC5C,uEAAwC;AACxC,6EAA8C;AAC9C,gEAAiC;AACjC,mEAAoC;AACpC,iEAAkC;AAClC,8DAA+B;AAC/B,sEAAuC;AACvC,iEAAkC;AAClC,4EAA6C;AAC7C,qEAAsC","sourcesContent":["export * from \"./BadMapping\";\nexport * from \"./BadRequest\";\nexport * from \"./Conflict\";\nexport * from \"./ExpectationFailed\";\nexport * from \"./Forbidden\";\nexport * from \"./Gone\";\nexport * from \"./ImATeapot\";\nexport * from \"./LengthRequired\";\nexport * from \"./MethodNotAllowed\";\nexport * from \"./MisdirectedRequest\";\nexport * from \"./NotAcceptable\";\nexport * from \"./NotFound\";\nexport * from \"./PaymentRequired\";\nexport * from \"./PreconditionFailed\";\nexport * from \"./PreconditionRequired\";\nexport * from \"./ProxyAuthentificationRequired\";\nexport * from \"./RequestRangeUnsatisfiable\";\nexport * from \"./RequestEntityTooLarge\";\nexport * from \"./RequestHeaderFieldsTooLarge\";\nexport * from \"./RequestTimeout\";\nexport * from \"./RequestURITooLong\";\nexport * from \"./TooManyRequests\";\nexport * from \"./Unauthorized\";\nexport * from \"./UnsupportedMediaType\";\nexport * from \"./UpgradeRequired\";\nexport * from \"./UnavailableForLegalReasons\";\nexport * from \"./UnprocessableEntity\";\n"]}
@@ -1,5 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./Exception"), exports);
5
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/core/index.ts"],"names":[],"mappings":";;;AAAA,2DAA4B","sourcesContent":["export * from \"./Exception\";\n"]}
@@ -1,12 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TooManyRedirects = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class TooManyRedirects extends Exception_1.Exception {
6
- constructor(message, origin) {
7
- super(TooManyRedirects.STATUS, message, origin);
8
- }
9
- }
10
- exports.TooManyRedirects = TooManyRedirects;
11
- TooManyRedirects.STATUS = 310;
12
- //# sourceMappingURL=TooManyRedirects.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"TooManyRedirects.js","sourceRoot":"","sources":["../../../src/redirections/TooManyRedirects.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,gBAAiB,SAAQ,qBAAS;IAG7C,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAClD,CAAC;;AALH,4CAMC;AALiB,uBAAM,GAAG,GAAG,CAAC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class TooManyRedirects extends Exception {\n static readonly STATUS = 310;\n\n constructor(message: string, origin?: Error | string | any) {\n super(TooManyRedirects.STATUS, message, origin);\n }\n}\n"]}
@@ -1,13 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./MovedPermanently"), exports);
5
- (0, tslib_1.__exportStar)(require("./MovedTemporarily"), exports);
6
- (0, tslib_1.__exportStar)(require("./MultipleChoices"), exports);
7
- (0, tslib_1.__exportStar)(require("./NotModified"), exports);
8
- (0, tslib_1.__exportStar)(require("./PermanentRedirect"), exports);
9
- (0, tslib_1.__exportStar)(require("./SeeOther"), exports);
10
- (0, tslib_1.__exportStar)(require("./TemporaryRedirect"), exports);
11
- (0, tslib_1.__exportStar)(require("./TooManyRedirects"), exports);
12
- (0, tslib_1.__exportStar)(require("./UseProxy"), exports);
13
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/redirections/index.ts"],"names":[],"mappings":";;;AAAA,kEAAmC;AACnC,kEAAmC;AACnC,iEAAkC;AAClC,6DAA8B;AAC9B,mEAAoC;AACpC,0DAA2B;AAC3B,mEAAoC;AACpC,kEAAmC;AACnC,0DAA2B","sourcesContent":["export * from \"./MovedPermanently\";\nexport * from \"./MovedTemporarily\";\nexport * from \"./MultipleChoices\";\nexport * from \"./NotModified\";\nexport * from \"./PermanentRedirect\";\nexport * from \"./SeeOther\";\nexport * from \"./TemporaryRedirect\";\nexport * from \"./TooManyRedirects\";\nexport * from \"./UseProxy\";\n"]}