@tsed/exceptions 7.40.0 → 7.41.1

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 (264) hide show
  1. package/jest.config.js +1 -1
  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 +2 -2
  5. package/lib/cjs/clientErrors/BadRequest.js.map +1 -1
  6. package/lib/cjs/clientErrors/Conflict.js +2 -2
  7. package/lib/cjs/clientErrors/Conflict.js.map +1 -1
  8. package/lib/cjs/clientErrors/ExpectationFailed.js +2 -2
  9. package/lib/cjs/clientErrors/ExpectationFailed.js.map +1 -1
  10. package/lib/cjs/clientErrors/Forbidden.js +2 -2
  11. package/lib/cjs/clientErrors/Forbidden.js.map +1 -1
  12. package/lib/cjs/clientErrors/Gone.js +2 -2
  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 +2 -2
  17. package/lib/cjs/clientErrors/LengthRequired.js.map +1 -1
  18. package/lib/cjs/clientErrors/MethodNotAllowed.js +2 -2
  19. package/lib/cjs/clientErrors/MethodNotAllowed.js.map +1 -1
  20. package/lib/cjs/clientErrors/MisdirectedRequest.js +2 -2
  21. package/lib/cjs/clientErrors/MisdirectedRequest.js.map +1 -1
  22. package/lib/cjs/clientErrors/NotAcceptable.js +2 -2
  23. package/lib/cjs/clientErrors/NotAcceptable.js.map +1 -1
  24. package/lib/cjs/clientErrors/NotFound.js +2 -2
  25. package/lib/cjs/clientErrors/NotFound.js.map +1 -1
  26. package/lib/cjs/clientErrors/PaymentRequired.js +2 -2
  27. package/lib/cjs/clientErrors/PaymentRequired.js.map +1 -1
  28. package/lib/cjs/clientErrors/PreconditionFailed.js +2 -2
  29. package/lib/cjs/clientErrors/PreconditionFailed.js.map +1 -1
  30. package/lib/cjs/clientErrors/PreconditionRequired.js +2 -2
  31. package/lib/cjs/clientErrors/PreconditionRequired.js.map +1 -1
  32. package/lib/cjs/clientErrors/ProxyAuthentificationRequired.js +2 -2
  33. package/lib/cjs/clientErrors/ProxyAuthentificationRequired.js.map +1 -1
  34. package/lib/cjs/clientErrors/RequestEntityTooLarge.js +2 -2
  35. package/lib/cjs/clientErrors/RequestEntityTooLarge.js.map +1 -1
  36. package/lib/cjs/clientErrors/RequestHeaderFieldsTooLarge.js +2 -2
  37. package/lib/cjs/clientErrors/RequestHeaderFieldsTooLarge.js.map +1 -1
  38. package/lib/cjs/clientErrors/RequestRangeUnsatisfiable.js +2 -2
  39. package/lib/cjs/clientErrors/RequestRangeUnsatisfiable.js.map +1 -1
  40. package/lib/cjs/clientErrors/RequestTimeout.js +2 -2
  41. package/lib/cjs/clientErrors/RequestTimeout.js.map +1 -1
  42. package/lib/cjs/clientErrors/RequestURITooLong.js +2 -2
  43. package/lib/cjs/clientErrors/RequestURITooLong.js.map +1 -1
  44. package/lib/cjs/clientErrors/TooManyRequests.js +2 -2
  45. package/lib/cjs/clientErrors/TooManyRequests.js.map +1 -1
  46. package/lib/cjs/clientErrors/Unauthorized.js +2 -2
  47. package/lib/cjs/clientErrors/Unauthorized.js.map +1 -1
  48. package/lib/cjs/clientErrors/UnavailableForLegalReasons.js +2 -2
  49. package/lib/cjs/clientErrors/UnavailableForLegalReasons.js.map +1 -1
  50. package/lib/cjs/clientErrors/UnprocessableEntity.js +2 -2
  51. package/lib/cjs/clientErrors/UnprocessableEntity.js.map +1 -1
  52. package/lib/cjs/clientErrors/UnsupportedMediaType.js +2 -2
  53. package/lib/cjs/clientErrors/UnsupportedMediaType.js.map +1 -1
  54. package/lib/cjs/clientErrors/UpgradeRequired.js +2 -2
  55. package/lib/cjs/clientErrors/UpgradeRequired.js.map +1 -1
  56. package/lib/cjs/core/ClientException.js +12 -0
  57. package/lib/cjs/core/ClientException.js.map +1 -0
  58. package/lib/cjs/core/Exception.js +9 -0
  59. package/lib/cjs/core/Exception.js.map +1 -1
  60. package/lib/cjs/core/RedirectException.js +12 -0
  61. package/lib/cjs/core/RedirectException.js.map +1 -0
  62. package/lib/cjs/core/ServerException.js +12 -0
  63. package/lib/cjs/core/ServerException.js.map +1 -0
  64. package/lib/cjs/core/StatusFamily.js +10 -0
  65. package/lib/cjs/core/StatusFamily.js.map +1 -0
  66. package/lib/cjs/index.js +5 -1
  67. package/lib/cjs/index.js.map +1 -1
  68. package/lib/cjs/redirections/MovedPermanently.js +2 -2
  69. package/lib/cjs/redirections/MovedPermanently.js.map +1 -1
  70. package/lib/cjs/redirections/MovedTemporarily.js +2 -2
  71. package/lib/cjs/redirections/MovedTemporarily.js.map +1 -1
  72. package/lib/cjs/redirections/MultipleChoices.js +2 -2
  73. package/lib/cjs/redirections/MultipleChoices.js.map +1 -1
  74. package/lib/cjs/redirections/NotModified.js +2 -2
  75. package/lib/cjs/redirections/NotModified.js.map +1 -1
  76. package/lib/cjs/redirections/PermanentRedirect.js +2 -2
  77. package/lib/cjs/redirections/PermanentRedirect.js.map +1 -1
  78. package/lib/cjs/redirections/SeeOther.js +2 -2
  79. package/lib/cjs/redirections/SeeOther.js.map +1 -1
  80. package/lib/cjs/redirections/TemporaryRedirect.js +2 -2
  81. package/lib/cjs/redirections/TemporaryRedirect.js.map +1 -1
  82. package/lib/cjs/redirections/UseProxy.js +2 -2
  83. package/lib/cjs/redirections/UseProxy.js.map +1 -1
  84. package/lib/cjs/serverErrors/BadGateway.js +2 -2
  85. package/lib/cjs/serverErrors/BadGateway.js.map +1 -1
  86. package/lib/cjs/serverErrors/BandwidthLimitExceeded.js +2 -2
  87. package/lib/cjs/serverErrors/BandwidthLimitExceeded.js.map +1 -1
  88. package/lib/cjs/serverErrors/GatewayTimeout.js +2 -2
  89. package/lib/cjs/serverErrors/GatewayTimeout.js.map +1 -1
  90. package/lib/cjs/serverErrors/InternalServerError.js +2 -2
  91. package/lib/cjs/serverErrors/InternalServerError.js.map +1 -1
  92. package/lib/cjs/serverErrors/NetworkAuthenticationRequired.js +2 -2
  93. package/lib/cjs/serverErrors/NetworkAuthenticationRequired.js.map +1 -1
  94. package/lib/cjs/serverErrors/NotExtended.js +2 -2
  95. package/lib/cjs/serverErrors/NotExtended.js.map +1 -1
  96. package/lib/cjs/serverErrors/NotImplemented.js +2 -2
  97. package/lib/cjs/serverErrors/NotImplemented.js.map +1 -1
  98. package/lib/cjs/serverErrors/ProxyError.js +2 -2
  99. package/lib/cjs/serverErrors/ProxyError.js.map +1 -1
  100. package/lib/cjs/serverErrors/ServiceUnavailable.js +12 -0
  101. package/lib/cjs/serverErrors/ServiceUnavailable.js.map +1 -0
  102. package/lib/cjs/serverErrors/VariantAlsoNegotiates.js +2 -2
  103. package/lib/cjs/serverErrors/VariantAlsoNegotiates.js.map +1 -1
  104. package/lib/esm/clientErrors/BadMapping.js +2 -2
  105. package/lib/esm/clientErrors/BadMapping.js.map +1 -1
  106. package/lib/esm/clientErrors/BadRequest.js +2 -2
  107. package/lib/esm/clientErrors/BadRequest.js.map +1 -1
  108. package/lib/esm/clientErrors/Conflict.js +2 -2
  109. package/lib/esm/clientErrors/Conflict.js.map +1 -1
  110. package/lib/esm/clientErrors/ExpectationFailed.js +2 -2
  111. package/lib/esm/clientErrors/ExpectationFailed.js.map +1 -1
  112. package/lib/esm/clientErrors/Forbidden.js +2 -2
  113. package/lib/esm/clientErrors/Forbidden.js.map +1 -1
  114. package/lib/esm/clientErrors/Gone.js +2 -2
  115. package/lib/esm/clientErrors/Gone.js.map +1 -1
  116. package/lib/esm/clientErrors/ImATeapot.js +2 -2
  117. package/lib/esm/clientErrors/ImATeapot.js.map +1 -1
  118. package/lib/esm/clientErrors/LengthRequired.js +2 -2
  119. package/lib/esm/clientErrors/LengthRequired.js.map +1 -1
  120. package/lib/esm/clientErrors/MethodNotAllowed.js +2 -2
  121. package/lib/esm/clientErrors/MethodNotAllowed.js.map +1 -1
  122. package/lib/esm/clientErrors/MisdirectedRequest.js +2 -2
  123. package/lib/esm/clientErrors/MisdirectedRequest.js.map +1 -1
  124. package/lib/esm/clientErrors/NotAcceptable.js +2 -2
  125. package/lib/esm/clientErrors/NotAcceptable.js.map +1 -1
  126. package/lib/esm/clientErrors/NotFound.js +2 -2
  127. package/lib/esm/clientErrors/NotFound.js.map +1 -1
  128. package/lib/esm/clientErrors/PaymentRequired.js +2 -2
  129. package/lib/esm/clientErrors/PaymentRequired.js.map +1 -1
  130. package/lib/esm/clientErrors/PreconditionFailed.js +2 -2
  131. package/lib/esm/clientErrors/PreconditionFailed.js.map +1 -1
  132. package/lib/esm/clientErrors/PreconditionRequired.js +2 -2
  133. package/lib/esm/clientErrors/PreconditionRequired.js.map +1 -1
  134. package/lib/esm/clientErrors/ProxyAuthentificationRequired.js +2 -2
  135. package/lib/esm/clientErrors/ProxyAuthentificationRequired.js.map +1 -1
  136. package/lib/esm/clientErrors/RequestEntityTooLarge.js +2 -2
  137. package/lib/esm/clientErrors/RequestEntityTooLarge.js.map +1 -1
  138. package/lib/esm/clientErrors/RequestHeaderFieldsTooLarge.js +2 -2
  139. package/lib/esm/clientErrors/RequestHeaderFieldsTooLarge.js.map +1 -1
  140. package/lib/esm/clientErrors/RequestRangeUnsatisfiable.js +2 -2
  141. package/lib/esm/clientErrors/RequestRangeUnsatisfiable.js.map +1 -1
  142. package/lib/esm/clientErrors/RequestTimeout.js +2 -2
  143. package/lib/esm/clientErrors/RequestTimeout.js.map +1 -1
  144. package/lib/esm/clientErrors/RequestURITooLong.js +2 -2
  145. package/lib/esm/clientErrors/RequestURITooLong.js.map +1 -1
  146. package/lib/esm/clientErrors/TooManyRequests.js +2 -2
  147. package/lib/esm/clientErrors/TooManyRequests.js.map +1 -1
  148. package/lib/esm/clientErrors/Unauthorized.js +2 -2
  149. package/lib/esm/clientErrors/Unauthorized.js.map +1 -1
  150. package/lib/esm/clientErrors/UnavailableForLegalReasons.js +2 -2
  151. package/lib/esm/clientErrors/UnavailableForLegalReasons.js.map +1 -1
  152. package/lib/esm/clientErrors/UnprocessableEntity.js +2 -2
  153. package/lib/esm/clientErrors/UnprocessableEntity.js.map +1 -1
  154. package/lib/esm/clientErrors/UnsupportedMediaType.js +2 -2
  155. package/lib/esm/clientErrors/UnsupportedMediaType.js.map +1 -1
  156. package/lib/esm/clientErrors/UpgradeRequired.js +2 -2
  157. package/lib/esm/clientErrors/UpgradeRequired.js.map +1 -1
  158. package/lib/esm/core/ClientException.js +8 -0
  159. package/lib/esm/core/ClientException.js.map +1 -0
  160. package/lib/esm/core/Exception.js +9 -0
  161. package/lib/esm/core/Exception.js.map +1 -1
  162. package/lib/esm/core/RedirectException.js +8 -0
  163. package/lib/esm/core/RedirectException.js.map +1 -0
  164. package/lib/esm/core/ServerException.js +8 -0
  165. package/lib/esm/core/ServerException.js.map +1 -0
  166. package/lib/esm/core/StatusFamily.js +7 -0
  167. package/lib/esm/core/StatusFamily.js.map +1 -0
  168. package/lib/esm/index.js +5 -1
  169. package/lib/esm/index.js.map +1 -1
  170. package/lib/esm/redirections/MovedPermanently.js +2 -2
  171. package/lib/esm/redirections/MovedPermanently.js.map +1 -1
  172. package/lib/esm/redirections/MovedTemporarily.js +2 -2
  173. package/lib/esm/redirections/MovedTemporarily.js.map +1 -1
  174. package/lib/esm/redirections/MultipleChoices.js +2 -2
  175. package/lib/esm/redirections/MultipleChoices.js.map +1 -1
  176. package/lib/esm/redirections/NotModified.js +2 -2
  177. package/lib/esm/redirections/NotModified.js.map +1 -1
  178. package/lib/esm/redirections/PermanentRedirect.js +2 -2
  179. package/lib/esm/redirections/PermanentRedirect.js.map +1 -1
  180. package/lib/esm/redirections/SeeOther.js +2 -2
  181. package/lib/esm/redirections/SeeOther.js.map +1 -1
  182. package/lib/esm/redirections/TemporaryRedirect.js +2 -2
  183. package/lib/esm/redirections/TemporaryRedirect.js.map +1 -1
  184. package/lib/esm/redirections/UseProxy.js +2 -2
  185. package/lib/esm/redirections/UseProxy.js.map +1 -1
  186. package/lib/esm/serverErrors/BadGateway.js +2 -2
  187. package/lib/esm/serverErrors/BadGateway.js.map +1 -1
  188. package/lib/esm/serverErrors/BandwidthLimitExceeded.js +2 -2
  189. package/lib/esm/serverErrors/BandwidthLimitExceeded.js.map +1 -1
  190. package/lib/esm/serverErrors/GatewayTimeout.js +2 -2
  191. package/lib/esm/serverErrors/GatewayTimeout.js.map +1 -1
  192. package/lib/esm/serverErrors/InternalServerError.js +2 -2
  193. package/lib/esm/serverErrors/InternalServerError.js.map +1 -1
  194. package/lib/esm/serverErrors/NetworkAuthenticationRequired.js +2 -2
  195. package/lib/esm/serverErrors/NetworkAuthenticationRequired.js.map +1 -1
  196. package/lib/esm/serverErrors/NotExtended.js +2 -2
  197. package/lib/esm/serverErrors/NotExtended.js.map +1 -1
  198. package/lib/esm/serverErrors/NotImplemented.js +2 -2
  199. package/lib/esm/serverErrors/NotImplemented.js.map +1 -1
  200. package/lib/esm/serverErrors/ProxyError.js +2 -2
  201. package/lib/esm/serverErrors/ProxyError.js.map +1 -1
  202. package/lib/esm/serverErrors/ServiceUnavailable.js +8 -0
  203. package/lib/esm/serverErrors/ServiceUnavailable.js.map +1 -0
  204. package/lib/esm/serverErrors/VariantAlsoNegotiates.js +2 -2
  205. package/lib/esm/serverErrors/VariantAlsoNegotiates.js.map +1 -1
  206. package/lib/tsconfig.esm.tsbuildinfo +1 -1
  207. package/lib/tsconfig.tsbuildinfo +1 -1
  208. package/lib/types/clientErrors/BadMapping.d.ts +2 -2
  209. package/lib/types/clientErrors/BadRequest.d.ts +2 -2
  210. package/lib/types/clientErrors/Conflict.d.ts +2 -2
  211. package/lib/types/clientErrors/ExpectationFailed.d.ts +2 -2
  212. package/lib/types/clientErrors/Forbidden.d.ts +2 -2
  213. package/lib/types/clientErrors/Gone.d.ts +2 -2
  214. package/lib/types/clientErrors/ImATeapot.d.ts +2 -2
  215. package/lib/types/clientErrors/LengthRequired.d.ts +2 -2
  216. package/lib/types/clientErrors/MethodNotAllowed.d.ts +2 -2
  217. package/lib/types/clientErrors/MisdirectedRequest.d.ts +2 -2
  218. package/lib/types/clientErrors/NotAcceptable.d.ts +2 -2
  219. package/lib/types/clientErrors/NotFound.d.ts +2 -2
  220. package/lib/types/clientErrors/PaymentRequired.d.ts +2 -2
  221. package/lib/types/clientErrors/PreconditionFailed.d.ts +2 -2
  222. package/lib/types/clientErrors/PreconditionRequired.d.ts +2 -2
  223. package/lib/types/clientErrors/ProxyAuthentificationRequired.d.ts +2 -2
  224. package/lib/types/clientErrors/RequestEntityTooLarge.d.ts +2 -2
  225. package/lib/types/clientErrors/RequestHeaderFieldsTooLarge.d.ts +2 -2
  226. package/lib/types/clientErrors/RequestRangeUnsatisfiable.d.ts +2 -2
  227. package/lib/types/clientErrors/RequestTimeout.d.ts +2 -2
  228. package/lib/types/clientErrors/RequestURITooLong.d.ts +2 -2
  229. package/lib/types/clientErrors/TooManyRequests.d.ts +2 -2
  230. package/lib/types/clientErrors/Unauthorized.d.ts +2 -2
  231. package/lib/types/clientErrors/UnavailableForLegalReasons.d.ts +2 -2
  232. package/lib/types/clientErrors/UnprocessableEntity.d.ts +2 -2
  233. package/lib/types/clientErrors/UnsupportedMediaType.d.ts +2 -2
  234. package/lib/types/clientErrors/UpgradeRequired.d.ts +2 -2
  235. package/lib/types/core/ClientException.d.ts +4 -0
  236. package/lib/types/core/Exception.d.ts +2 -0
  237. package/lib/types/core/RedirectException.d.ts +4 -0
  238. package/lib/types/core/ServerException.d.ts +4 -0
  239. package/lib/types/core/StatusFamily.d.ts +5 -0
  240. package/lib/types/index.d.ts +5 -1
  241. package/lib/types/redirections/MovedPermanently.d.ts +2 -2
  242. package/lib/types/redirections/MovedTemporarily.d.ts +2 -2
  243. package/lib/types/redirections/MultipleChoices.d.ts +2 -2
  244. package/lib/types/redirections/NotModified.d.ts +2 -2
  245. package/lib/types/redirections/PermanentRedirect.d.ts +2 -2
  246. package/lib/types/redirections/SeeOther.d.ts +2 -2
  247. package/lib/types/redirections/TemporaryRedirect.d.ts +2 -2
  248. package/lib/types/redirections/UseProxy.d.ts +2 -2
  249. package/lib/types/serverErrors/BadGateway.d.ts +2 -2
  250. package/lib/types/serverErrors/BandwidthLimitExceeded.d.ts +2 -2
  251. package/lib/types/serverErrors/GatewayTimeout.d.ts +2 -2
  252. package/lib/types/serverErrors/InternalServerError.d.ts +2 -2
  253. package/lib/types/serverErrors/NetworkAuthenticationRequired.d.ts +2 -2
  254. package/lib/types/serverErrors/NotExtended.d.ts +2 -2
  255. package/lib/types/serverErrors/NotImplemented.d.ts +2 -2
  256. package/lib/types/serverErrors/ProxyError.d.ts +2 -2
  257. package/lib/types/serverErrors/ServiceUnavailable.d.ts +5 -0
  258. package/lib/types/serverErrors/VariantAlsoNegotiates.d.ts +2 -2
  259. package/package.json +2 -2
  260. package/lib/cjs/serverErrors/ServiceUnvailable.js +0 -12
  261. package/lib/cjs/serverErrors/ServiceUnvailable.js.map +0 -1
  262. package/lib/esm/serverErrors/ServiceUnvailable.js +0 -8
  263. package/lib/esm/serverErrors/ServiceUnvailable.js.map +0 -1
  264. package/lib/types/serverErrors/ServiceUnvailable.d.ts +0 -5
@@ -0,0 +1 @@
1
+ {"version":3,"file":"StatusFamily.js","sourceRoot":"","sources":["../../../src/core/StatusFamily.ts"],"names":[],"mappings":";;;AAAA,IAAY,YAIX;AAJD,WAAY,YAAY;IACtB,2BAAa,CAAA;IACb,2BAAa,CAAA;IACb,2BAAa,CAAA;AACf,CAAC,EAJW,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAIvB"}
package/lib/cjs/index.js CHANGED
@@ -31,7 +31,11 @@ tslib_1.__exportStar(require("./clientErrors/UnavailableForLegalReasons"), expor
31
31
  tslib_1.__exportStar(require("./clientErrors/UnprocessableEntity"), exports);
32
32
  tslib_1.__exportStar(require("./clientErrors/UnsupportedMediaType"), exports);
33
33
  tslib_1.__exportStar(require("./clientErrors/UpgradeRequired"), exports);
34
+ tslib_1.__exportStar(require("./core/ClientException"), exports);
34
35
  tslib_1.__exportStar(require("./core/Exception"), exports);
36
+ tslib_1.__exportStar(require("./core/RedirectException"), exports);
37
+ tslib_1.__exportStar(require("./core/ServerException"), exports);
38
+ tslib_1.__exportStar(require("./core/StatusFamily"), exports);
35
39
  tslib_1.__exportStar(require("./redirections/MovedPermanently"), exports);
36
40
  tslib_1.__exportStar(require("./redirections/MovedTemporarily"), exports);
37
41
  tslib_1.__exportStar(require("./redirections/MultipleChoices"), exports);
@@ -48,6 +52,6 @@ tslib_1.__exportStar(require("./serverErrors/NetworkAuthenticationRequired"), ex
48
52
  tslib_1.__exportStar(require("./serverErrors/NotExtended"), exports);
49
53
  tslib_1.__exportStar(require("./serverErrors/NotImplemented"), exports);
50
54
  tslib_1.__exportStar(require("./serverErrors/ProxyError"), exports);
51
- tslib_1.__exportStar(require("./serverErrors/ServiceUnvailable"), exports);
55
+ tslib_1.__exportStar(require("./serverErrors/ServiceUnavailable"), exports);
52
56
  tslib_1.__exportStar(require("./serverErrors/VariantAlsoNegotiates"), exports);
53
57
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oEAA0C;AAC1C,oEAA0C;AAC1C,kEAAwC;AACxC,2EAAiD;AACjD,mEAAyC;AACzC,8DAAoC;AACpC,mEAAyC;AACzC,wEAA8C;AAC9C,0EAAgD;AAChD,4EAAkD;AAClD,uEAA6C;AAC7C,kEAAwC;AACxC,yEAA+C;AAC/C,4EAAkD;AAClD,8EAAoD;AACpD,uFAA6D;AAC7D,+EAAqD;AACrD,qFAA2D;AAC3D,mFAAyD;AACzD,wEAA8C;AAC9C,2EAAiD;AACjD,yEAA+C;AAC/C,sEAA4C;AAC5C,oFAA0D;AAC1D,6EAAmD;AACnD,8EAAoD;AACpD,yEAA+C;AAC/C,2DAAiC;AACjC,0EAAgD;AAChD,0EAAgD;AAChD,yEAA+C;AAC/C,qEAA2C;AAC3C,2EAAiD;AACjD,kEAAwC;AACxC,2EAAiD;AACjD,kEAAwC;AACxC,oEAA0C;AAC1C,gFAAsD;AACtD,wEAA8C;AAC9C,6EAAmD;AACnD,uFAA6D;AAC7D,qEAA2C;AAC3C,wEAA8C;AAC9C,oEAA0C;AAC1C,2EAAiD;AACjD,+EAAqD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAEH,oEAA0C;AAC1C,oEAA0C;AAC1C,kEAAwC;AACxC,2EAAiD;AACjD,mEAAyC;AACzC,8DAAoC;AACpC,mEAAyC;AACzC,wEAA8C;AAC9C,0EAAgD;AAChD,4EAAkD;AAClD,uEAA6C;AAC7C,kEAAwC;AACxC,yEAA+C;AAC/C,4EAAkD;AAClD,8EAAoD;AACpD,uFAA6D;AAC7D,+EAAqD;AACrD,qFAA2D;AAC3D,mFAAyD;AACzD,wEAA8C;AAC9C,2EAAiD;AACjD,yEAA+C;AAC/C,sEAA4C;AAC5C,oFAA0D;AAC1D,6EAAmD;AACnD,8EAAoD;AACpD,yEAA+C;AAC/C,iEAAuC;AACvC,2DAAiC;AACjC,mEAAyC;AACzC,iEAAuC;AACvC,8DAAoC;AACpC,0EAAgD;AAChD,0EAAgD;AAChD,yEAA+C;AAC/C,qEAA2C;AAC3C,2EAAiD;AACjD,kEAAwC;AACxC,2EAAiD;AACjD,kEAAwC;AACxC,oEAA0C;AAC1C,gFAAsD;AACtD,wEAA8C;AAC9C,6EAAmD;AACnD,uFAA6D;AAC7D,qEAA2C;AAC3C,wEAA8C;AAC9C,oEAA0C;AAC1C,4EAAkD;AAClD,+EAAqD"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MovedPermanently = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class MovedPermanently extends Exception_1.Exception {
4
+ const RedirectException_1 = require("../core/RedirectException");
5
+ class MovedPermanently extends RedirectException_1.RedirectException {
6
6
  static STATUS = 301;
7
7
  constructor(message, origin) {
8
8
  super(MovedPermanently.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"MovedPermanently.js","sourceRoot":"","sources":["../../../src/redirections/MovedPermanently.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,gBAAiB,SAAQ,qBAAS;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;;AALH,4CAMC"}
1
+ {"version":3,"file":"MovedPermanently.js","sourceRoot":"","sources":["../../../src/redirections/MovedPermanently.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,gBAAiB,SAAQ,qCAAiB;IACrD,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;;AALH,4CAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MovedTemporarily = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class MovedTemporarily extends Exception_1.Exception {
4
+ const RedirectException_1 = require("../core/RedirectException");
5
+ class MovedTemporarily extends RedirectException_1.RedirectException {
6
6
  static STATUS = 302;
7
7
  name = "MOVED_TEMPORARILY";
8
8
  constructor(message, origin) {
@@ -1 +1 @@
1
- {"version":3,"file":"MovedTemporarily.js","sourceRoot":"","sources":["../../../src/redirections/MovedTemporarily.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,gBAAiB,SAAQ,qBAAS;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;;AANH,4CAOC"}
1
+ {"version":3,"file":"MovedTemporarily.js","sourceRoot":"","sources":["../../../src/redirections/MovedTemporarily.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,gBAAiB,SAAQ,qCAAiB;IACrD,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;;AANH,4CAOC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.MultipleChoices = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class MultipleChoices extends Exception_1.Exception {
4
+ const RedirectException_1 = require("../core/RedirectException");
5
+ class MultipleChoices extends RedirectException_1.RedirectException {
6
6
  static STATUS = 300;
7
7
  constructor(message, origin) {
8
8
  super(MultipleChoices.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"MultipleChoices.js","sourceRoot":"","sources":["../../../src/redirections/MultipleChoices.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,eAAgB,SAAQ,qBAAS;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;;AALH,0CAMC"}
1
+ {"version":3,"file":"MultipleChoices.js","sourceRoot":"","sources":["../../../src/redirections/MultipleChoices.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,eAAgB,SAAQ,qCAAiB;IACpD,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;;AALH,0CAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NotModified = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class NotModified extends Exception_1.Exception {
4
+ const RedirectException_1 = require("../core/RedirectException");
5
+ class NotModified extends RedirectException_1.RedirectException {
6
6
  static STATUS = 304;
7
7
  constructor(message, origin) {
8
8
  super(NotModified.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"NotModified.js","sourceRoot":"","sources":["../../../src/redirections/NotModified.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,WAAY,SAAQ,qBAAS;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;;AALH,kCAMC"}
1
+ {"version":3,"file":"NotModified.js","sourceRoot":"","sources":["../../../src/redirections/NotModified.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,WAAY,SAAQ,qCAAiB;IAChD,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;;AALH,kCAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PermanentRedirect = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class PermanentRedirect extends Exception_1.Exception {
4
+ const RedirectException_1 = require("../core/RedirectException");
5
+ class PermanentRedirect extends RedirectException_1.RedirectException {
6
6
  static STATUS = 308;
7
7
  constructor(message, origin) {
8
8
  super(PermanentRedirect.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"PermanentRedirect.js","sourceRoot":"","sources":["../../../src/redirections/PermanentRedirect.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,iBAAkB,SAAQ,qBAAS;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;;AALH,8CAMC"}
1
+ {"version":3,"file":"PermanentRedirect.js","sourceRoot":"","sources":["../../../src/redirections/PermanentRedirect.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,iBAAkB,SAAQ,qCAAiB;IACtD,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;;AALH,8CAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SeeOther = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class SeeOther extends Exception_1.Exception {
4
+ const RedirectException_1 = require("../core/RedirectException");
5
+ class SeeOther extends RedirectException_1.RedirectException {
6
6
  static STATUS = 303;
7
7
  constructor(message, origin) {
8
8
  super(SeeOther.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"SeeOther.js","sourceRoot":"","sources":["../../../src/redirections/SeeOther.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,QAAS,SAAQ,qBAAS;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;;AALH,4BAMC"}
1
+ {"version":3,"file":"SeeOther.js","sourceRoot":"","sources":["../../../src/redirections/SeeOther.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,QAAS,SAAQ,qCAAiB;IAC7C,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;;AALH,4BAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.TemporaryRedirect = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class TemporaryRedirect extends Exception_1.Exception {
4
+ const RedirectException_1 = require("../core/RedirectException");
5
+ class TemporaryRedirect extends RedirectException_1.RedirectException {
6
6
  static STATUS = 307;
7
7
  constructor(message, origin) {
8
8
  super(TemporaryRedirect.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"TemporaryRedirect.js","sourceRoot":"","sources":["../../../src/redirections/TemporaryRedirect.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,iBAAkB,SAAQ,qBAAS;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;;AALH,8CAMC"}
1
+ {"version":3,"file":"TemporaryRedirect.js","sourceRoot":"","sources":["../../../src/redirections/TemporaryRedirect.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,iBAAkB,SAAQ,qCAAiB;IACtD,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;;AALH,8CAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.UseProxy = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class UseProxy extends Exception_1.Exception {
4
+ const RedirectException_1 = require("../core/RedirectException");
5
+ class UseProxy extends RedirectException_1.RedirectException {
6
6
  static STATUS = 305;
7
7
  constructor(message, origin) {
8
8
  super(UseProxy.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"UseProxy.js","sourceRoot":"","sources":["../../../src/redirections/UseProxy.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,QAAS,SAAQ,qBAAS;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;;AALH,4BAMC"}
1
+ {"version":3,"file":"UseProxy.js","sourceRoot":"","sources":["../../../src/redirections/UseProxy.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAE5D,MAAa,QAAS,SAAQ,qCAAiB;IAC7C,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;;AALH,4BAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BadGateway = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class BadGateway extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class BadGateway extends ServerException_1.ServerException {
6
6
  static STATUS = 502;
7
7
  constructor(message, origin) {
8
8
  super(BadGateway.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"BadGateway.js","sourceRoot":"","sources":["../../../src/serverErrors/BadGateway.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,UAAW,SAAQ,qBAAS;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;;AALH,gCAMC"}
1
+ {"version":3,"file":"BadGateway.js","sourceRoot":"","sources":["../../../src/serverErrors/BadGateway.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,UAAW,SAAQ,iCAAe;IAC7C,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;;AALH,gCAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BandwidthLimitExceeded = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class BandwidthLimitExceeded extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class BandwidthLimitExceeded extends ServerException_1.ServerException {
6
6
  static STATUS = 509;
7
7
  constructor(message, origin) {
8
8
  super(BandwidthLimitExceeded.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"BandwidthLimitExceeded.js","sourceRoot":"","sources":["../../../src/serverErrors/BandwidthLimitExceeded.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,sBAAuB,SAAQ,qBAAS;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;;AALH,wDAMC"}
1
+ {"version":3,"file":"BandwidthLimitExceeded.js","sourceRoot":"","sources":["../../../src/serverErrors/BandwidthLimitExceeded.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,sBAAuB,SAAQ,iCAAe;IACzD,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;;AALH,wDAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GatewayTimeout = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class GatewayTimeout extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class GatewayTimeout extends ServerException_1.ServerException {
6
6
  static STATUS = 504;
7
7
  constructor(message, origin) {
8
8
  super(GatewayTimeout.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"GatewayTimeout.js","sourceRoot":"","sources":["../../../src/serverErrors/GatewayTimeout.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,cAAe,SAAQ,qBAAS;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;;AALH,wCAMC"}
1
+ {"version":3,"file":"GatewayTimeout.js","sourceRoot":"","sources":["../../../src/serverErrors/GatewayTimeout.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,cAAe,SAAQ,iCAAe;IACjD,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;;AALH,wCAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.InternalServerError = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class InternalServerError extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class InternalServerError extends ServerException_1.ServerException {
6
6
  static STATUS = 500;
7
7
  constructor(message, origin) {
8
8
  super(InternalServerError.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"InternalServerError.js","sourceRoot":"","sources":["../../../src/serverErrors/InternalServerError.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,mBAAoB,SAAQ,qBAAS;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;;AALH,kDAMC"}
1
+ {"version":3,"file":"InternalServerError.js","sourceRoot":"","sources":["../../../src/serverErrors/InternalServerError.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,mBAAoB,SAAQ,iCAAe;IACtD,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;;AALH,kDAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NetworkAuthenticationRequired = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class NetworkAuthenticationRequired extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class NetworkAuthenticationRequired extends ServerException_1.ServerException {
6
6
  static STATUS = 511;
7
7
  constructor(message, origin) {
8
8
  super(NetworkAuthenticationRequired.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"NetworkAuthenticationRequired.js","sourceRoot":"","sources":["../../../src/serverErrors/NetworkAuthenticationRequired.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,6BAA8B,SAAQ,qBAAS;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;;AALH,sEAMC"}
1
+ {"version":3,"file":"NetworkAuthenticationRequired.js","sourceRoot":"","sources":["../../../src/serverErrors/NetworkAuthenticationRequired.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,6BAA8B,SAAQ,iCAAe;IAChE,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;;AALH,sEAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NotExtended = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class NotExtended extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class NotExtended extends ServerException_1.ServerException {
6
6
  static STATUS = 510;
7
7
  constructor(message, origin) {
8
8
  super(NotExtended.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"NotExtended.js","sourceRoot":"","sources":["../../../src/serverErrors/NotExtended.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,WAAY,SAAQ,qBAAS;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;;AALH,kCAMC"}
1
+ {"version":3,"file":"NotExtended.js","sourceRoot":"","sources":["../../../src/serverErrors/NotExtended.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,WAAY,SAAQ,iCAAe;IAC9C,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;;AALH,kCAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.NotImplemented = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class NotImplemented extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class NotImplemented extends ServerException_1.ServerException {
6
6
  static STATUS = 501;
7
7
  constructor(message, origin) {
8
8
  super(NotImplemented.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"NotImplemented.js","sourceRoot":"","sources":["../../../src/serverErrors/NotImplemented.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,cAAe,SAAQ,qBAAS;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;;AALH,wCAMC"}
1
+ {"version":3,"file":"NotImplemented.js","sourceRoot":"","sources":["../../../src/serverErrors/NotImplemented.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,cAAe,SAAQ,iCAAe;IACjD,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;;AALH,wCAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ProxyError = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class ProxyError extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class ProxyError extends ServerException_1.ServerException {
6
6
  static STATUS = 502;
7
7
  name = "PROXY_ERROR";
8
8
  constructor(message, origin) {
@@ -1 +1 @@
1
- {"version":3,"file":"ProxyError.js","sourceRoot":"","sources":["../../../src/serverErrors/ProxyError.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,UAAW,SAAQ,qBAAS;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;;AANH,gCAOC"}
1
+ {"version":3,"file":"ProxyError.js","sourceRoot":"","sources":["../../../src/serverErrors/ProxyError.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,UAAW,SAAQ,iCAAe;IAC7C,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;;AANH,gCAOC"}
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ServiceUnavailable = void 0;
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class ServiceUnavailable extends ServerException_1.ServerException {
6
+ static STATUS = 503;
7
+ constructor(message, origin) {
8
+ super(ServiceUnavailable.STATUS, message, origin);
9
+ }
10
+ }
11
+ exports.ServiceUnavailable = ServiceUnavailable;
12
+ //# sourceMappingURL=ServiceUnavailable.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ServiceUnavailable.js","sourceRoot":"","sources":["../../../src/serverErrors/ServiceUnavailable.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,kBAAmB,SAAQ,iCAAe;IACrD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC;;AALH,gDAMC"}
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VariantAlsoNegotiates = void 0;
4
- const Exception_1 = require("../core/Exception");
5
- class VariantAlsoNegotiates extends Exception_1.Exception {
4
+ const ServerException_1 = require("../core/ServerException");
5
+ class VariantAlsoNegotiates extends ServerException_1.ServerException {
6
6
  static STATUS = 506;
7
7
  constructor(message, origin) {
8
8
  super(VariantAlsoNegotiates.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"VariantAlsoNegotiates.js","sourceRoot":"","sources":["../../../src/serverErrors/VariantAlsoNegotiates.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,qBAAsB,SAAQ,qBAAS;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;;AALH,sDAMC"}
1
+ {"version":3,"file":"VariantAlsoNegotiates.js","sourceRoot":"","sources":["../../../src/serverErrors/VariantAlsoNegotiates.ts"],"names":[],"mappings":";;;AAAA,6DAAwD;AAExD,MAAa,qBAAsB,SAAQ,iCAAe;IACxD,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;;AALH,sDAMC"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class BadMapping extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class BadMapping extends ClientException {
3
3
  static STATUS = 421;
4
4
  name = "BAD_MAPPING";
5
5
  constructor(message, origin) {
@@ -1 +1 @@
1
- {"version":3,"file":"BadMapping.js","sourceRoot":"","sources":["../../../src/clientErrors/BadMapping.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"}
1
+ {"version":3,"file":"BadMapping.js","sourceRoot":"","sources":["../../../src/clientErrors/BadMapping.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,UAAW,SAAQ,eAAe;IAC7C,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"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class BadRequest extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class BadRequest extends ClientException {
3
3
  static STATUS = 400;
4
4
  constructor(message, origin) {
5
5
  super(BadRequest.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"BadRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/BadRequest.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"}
1
+ {"version":3,"file":"BadRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/BadRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,UAAW,SAAQ,eAAe;IAC7C,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"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class Conflict extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class Conflict extends ClientException {
3
3
  static STATUS = 409;
4
4
  constructor(message, origin) {
5
5
  super(Conflict.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"Conflict.js","sourceRoot":"","sources":["../../../src/clientErrors/Conflict.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"}
1
+ {"version":3,"file":"Conflict.js","sourceRoot":"","sources":["../../../src/clientErrors/Conflict.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,QAAS,SAAQ,eAAe;IAC3C,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"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class ExpectationFailed extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class ExpectationFailed extends ClientException {
3
3
  static STATUS = 417;
4
4
  constructor(message, origin) {
5
5
  super(ExpectationFailed.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"ExpectationFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/ExpectationFailed.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"}
1
+ {"version":3,"file":"ExpectationFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/ExpectationFailed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,iBAAkB,SAAQ,eAAe;IACpD,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"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class Forbidden extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class Forbidden extends ClientException {
3
3
  static STATUS = 403;
4
4
  constructor(message, origin) {
5
5
  super(Forbidden.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"Forbidden.js","sourceRoot":"","sources":["../../../src/clientErrors/Forbidden.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,SAAU,SAAQ,SAAS;IACtC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC"}
1
+ {"version":3,"file":"Forbidden.js","sourceRoot":"","sources":["../../../src/clientErrors/Forbidden.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,SAAU,SAAQ,eAAe;IAC5C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class Gone extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class Gone extends ClientException {
3
3
  static STATUS = 410;
4
4
  constructor(message, origin) {
5
5
  super(Gone.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"Gone.js","sourceRoot":"","sources":["../../../src/clientErrors/Gone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,IAAK,SAAQ,SAAS;IACjC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC"}
1
+ {"version":3,"file":"Gone.js","sourceRoot":"","sources":["../../../src/clientErrors/Gone.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,IAAK,SAAQ,eAAe;IACvC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class ImATeapot extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class ImATeapot extends ClientException {
3
3
  static STATUS = 418;
4
4
  name = "IM_A_TEAPOT";
5
5
  constructor(message, origin) {
@@ -1 +1 @@
1
- {"version":3,"file":"ImATeapot.js","sourceRoot":"","sources":["../../../src/clientErrors/ImATeapot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,SAAU,SAAQ,SAAS;IACtC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAC7B,IAAI,GAAW,aAAa,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC"}
1
+ {"version":3,"file":"ImATeapot.js","sourceRoot":"","sources":["../../../src/clientErrors/ImATeapot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,SAAU,SAAQ,eAAe;IAC5C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAC7B,IAAI,GAAW,aAAa,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class LengthRequired extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class LengthRequired extends ClientException {
3
3
  static STATUS = 411;
4
4
  constructor(message, origin) {
5
5
  super(LengthRequired.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"LengthRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/LengthRequired.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"}
1
+ {"version":3,"file":"LengthRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/LengthRequired.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,cAAe,SAAQ,eAAe;IACjD,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"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class MethodNotAllowed extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class MethodNotAllowed extends ClientException {
3
3
  static STATUS = 405;
4
4
  constructor(message, origin) {
5
5
  super(MethodNotAllowed.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"MethodNotAllowed.js","sourceRoot":"","sources":["../../../src/clientErrors/MethodNotAllowed.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"}
1
+ {"version":3,"file":"MethodNotAllowed.js","sourceRoot":"","sources":["../../../src/clientErrors/MethodNotAllowed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,gBAAiB,SAAQ,eAAe;IACnD,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"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class MisdirectedRequest extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class MisdirectedRequest extends ClientException {
3
3
  static STATUS = 421;
4
4
  constructor(message, origin) {
5
5
  super(MisdirectedRequest.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"MisdirectedRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/MisdirectedRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,kBAAmB,SAAQ,SAAS;IAC/C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC"}
1
+ {"version":3,"file":"MisdirectedRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/MisdirectedRequest.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,kBAAmB,SAAQ,eAAe;IACrD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class NotAcceptable extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class NotAcceptable extends ClientException {
3
3
  static STATUS = 406;
4
4
  constructor(message, origin = "You must accept content-type " + message) {
5
5
  super(NotAcceptable.STATUS, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"NotAcceptable.js","sourceRoot":"","sources":["../../../src/clientErrors/NotAcceptable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,aAAc,SAAQ,SAAS;IAC1C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,SAA+B,+BAA+B,GAAG,OAAO;QACnG,KAAK,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC"}
1
+ {"version":3,"file":"NotAcceptable.js","sourceRoot":"","sources":["../../../src/clientErrors/NotAcceptable.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,aAAc,SAAQ,eAAe;IAChD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,SAA+B,+BAA+B,GAAG,OAAO;QACnG,KAAK,CAAC,aAAa,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class NotFound extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class NotFound extends ClientException {
3
3
  static STATUS = 404;
4
4
  constructor(message, origin) {
5
5
  super(NotFound.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"NotFound.js","sourceRoot":"","sources":["../../../src/clientErrors/NotFound.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"}
1
+ {"version":3,"file":"NotFound.js","sourceRoot":"","sources":["../../../src/clientErrors/NotFound.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,QAAS,SAAQ,eAAe;IAC3C,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"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class PaymentRequired extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class PaymentRequired extends ClientException {
3
3
  static STATUS = 402;
4
4
  constructor(message, origin) {
5
5
  super(PaymentRequired.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"PaymentRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PaymentRequired.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"}
1
+ {"version":3,"file":"PaymentRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PaymentRequired.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,eAAgB,SAAQ,eAAe;IAClD,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"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class PreconditionFailed extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class PreconditionFailed extends ClientException {
3
3
  static STATUS = 412;
4
4
  constructor(message, origin) {
5
5
  super(PreconditionFailed.STATUS, message, origin);
@@ -1 +1 @@
1
- {"version":3,"file":"PreconditionFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionFailed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,SAAS,EAAC,MAAM,mBAAmB,CAAC;AAE5C,MAAM,OAAO,kBAAmB,SAAQ,SAAS;IAC/C,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC"}
1
+ {"version":3,"file":"PreconditionFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionFailed.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD,MAAM,OAAO,kBAAmB,SAAQ,eAAe;IACrD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC"}
@@ -1,5 +1,5 @@
1
- import { Exception } from "../core/Exception.js";
2
- export class PreconditionRequired extends Exception {
1
+ import { ClientException } from "../core/ClientException.js";
2
+ export class PreconditionRequired extends ClientException {
3
3
  static STATUS = 428;
4
4
  constructor(message, origin) {
5
5
  super(PreconditionRequired.STATUS, message, origin);