@tsed/exceptions 7.82.2 → 8.0.0-alpha.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.
- package/lib/cjs/clientErrors/BadMapping.js +2 -2
- package/lib/cjs/clientErrors/BadMapping.js.map +1 -1
- package/lib/cjs/clientErrors/BadRequest.js +1 -1
- package/lib/cjs/clientErrors/BadRequest.js.map +1 -1
- package/lib/cjs/clientErrors/Conflict.js +1 -1
- package/lib/cjs/clientErrors/Conflict.js.map +1 -1
- package/lib/cjs/clientErrors/ExpectationFailed.js +1 -1
- package/lib/cjs/clientErrors/ExpectationFailed.js.map +1 -1
- package/lib/cjs/clientErrors/Forbidden.js +1 -1
- package/lib/cjs/clientErrors/Forbidden.js.map +1 -1
- package/lib/cjs/clientErrors/Gone.js +1 -1
- package/lib/cjs/clientErrors/Gone.js.map +1 -1
- package/lib/cjs/clientErrors/ImATeapot.js +2 -2
- package/lib/cjs/clientErrors/ImATeapot.js.map +1 -1
- package/lib/cjs/clientErrors/LengthRequired.js +1 -1
- package/lib/cjs/clientErrors/LengthRequired.js.map +1 -1
- package/lib/cjs/clientErrors/MethodNotAllowed.js +1 -1
- package/lib/cjs/clientErrors/MethodNotAllowed.js.map +1 -1
- package/lib/cjs/clientErrors/MisdirectedRequest.js +1 -1
- package/lib/cjs/clientErrors/MisdirectedRequest.js.map +1 -1
- package/lib/cjs/clientErrors/NotAcceptable.js +1 -1
- package/lib/cjs/clientErrors/NotAcceptable.js.map +1 -1
- package/lib/cjs/clientErrors/NotFound.js +1 -1
- package/lib/cjs/clientErrors/NotFound.js.map +1 -1
- package/lib/cjs/clientErrors/PaymentRequired.js +1 -1
- package/lib/cjs/clientErrors/PaymentRequired.js.map +1 -1
- package/lib/cjs/clientErrors/PreconditionFailed.js +1 -1
- package/lib/cjs/clientErrors/PreconditionFailed.js.map +1 -1
- package/lib/cjs/clientErrors/PreconditionRequired.js +1 -1
- package/lib/cjs/clientErrors/PreconditionRequired.js.map +1 -1
- package/lib/cjs/clientErrors/ProxyAuthentificationRequired.js +1 -1
- package/lib/cjs/clientErrors/ProxyAuthentificationRequired.js.map +1 -1
- package/lib/cjs/clientErrors/RequestEntityTooLarge.js +1 -1
- package/lib/cjs/clientErrors/RequestEntityTooLarge.js.map +1 -1
- package/lib/cjs/clientErrors/RequestHeaderFieldsTooLarge.js +1 -1
- package/lib/cjs/clientErrors/RequestHeaderFieldsTooLarge.js.map +1 -1
- package/lib/cjs/clientErrors/RequestRangeUnsatisfiable.js +1 -1
- package/lib/cjs/clientErrors/RequestRangeUnsatisfiable.js.map +1 -1
- package/lib/cjs/clientErrors/RequestTimeout.js +1 -1
- package/lib/cjs/clientErrors/RequestTimeout.js.map +1 -1
- package/lib/cjs/clientErrors/RequestURITooLong.js +1 -1
- package/lib/cjs/clientErrors/RequestURITooLong.js.map +1 -1
- package/lib/cjs/clientErrors/TooManyRequests.js +1 -1
- package/lib/cjs/clientErrors/TooManyRequests.js.map +1 -1
- package/lib/cjs/clientErrors/Unauthorized.js +1 -1
- package/lib/cjs/clientErrors/Unauthorized.js.map +1 -1
- package/lib/cjs/clientErrors/UnavailableForLegalReasons.js +1 -1
- package/lib/cjs/clientErrors/UnavailableForLegalReasons.js.map +1 -1
- package/lib/cjs/clientErrors/UnprocessableEntity.js +1 -1
- package/lib/cjs/clientErrors/UnprocessableEntity.js.map +1 -1
- package/lib/cjs/clientErrors/UnsupportedMediaType.js +1 -1
- package/lib/cjs/clientErrors/UnsupportedMediaType.js.map +1 -1
- package/lib/cjs/clientErrors/UpgradeRequired.js +1 -1
- package/lib/cjs/clientErrors/UpgradeRequired.js.map +1 -1
- package/lib/cjs/core/Exception.js +14 -31
- package/lib/cjs/core/Exception.js.map +1 -1
- package/lib/cjs/redirections/MovedPermanently.js +1 -1
- package/lib/cjs/redirections/MovedPermanently.js.map +1 -1
- package/lib/cjs/redirections/MovedTemporarily.js +2 -2
- package/lib/cjs/redirections/MovedTemporarily.js.map +1 -1
- package/lib/cjs/redirections/MultipleChoices.js +1 -1
- package/lib/cjs/redirections/MultipleChoices.js.map +1 -1
- package/lib/cjs/redirections/NotModified.js +1 -1
- package/lib/cjs/redirections/NotModified.js.map +1 -1
- package/lib/cjs/redirections/PermanentRedirect.js +1 -1
- package/lib/cjs/redirections/PermanentRedirect.js.map +1 -1
- package/lib/cjs/redirections/SeeOther.js +1 -1
- package/lib/cjs/redirections/SeeOther.js.map +1 -1
- package/lib/cjs/redirections/TemporaryRedirect.js +1 -1
- package/lib/cjs/redirections/TemporaryRedirect.js.map +1 -1
- package/lib/cjs/redirections/UseProxy.js +1 -1
- package/lib/cjs/redirections/UseProxy.js.map +1 -1
- package/lib/cjs/serverErrors/BadGateway.js +1 -1
- package/lib/cjs/serverErrors/BadGateway.js.map +1 -1
- package/lib/cjs/serverErrors/BandwidthLimitExceeded.js +1 -1
- package/lib/cjs/serverErrors/BandwidthLimitExceeded.js.map +1 -1
- package/lib/cjs/serverErrors/GatewayTimeout.js +1 -1
- package/lib/cjs/serverErrors/GatewayTimeout.js.map +1 -1
- package/lib/cjs/serverErrors/InternalServerError.js +1 -1
- package/lib/cjs/serverErrors/InternalServerError.js.map +1 -1
- package/lib/cjs/serverErrors/NetworkAuthenticationRequired.js +1 -1
- package/lib/cjs/serverErrors/NetworkAuthenticationRequired.js.map +1 -1
- package/lib/cjs/serverErrors/NotExtended.js +1 -1
- package/lib/cjs/serverErrors/NotExtended.js.map +1 -1
- package/lib/cjs/serverErrors/NotImplemented.js +1 -1
- package/lib/cjs/serverErrors/NotImplemented.js.map +1 -1
- package/lib/cjs/serverErrors/ProxyError.js +2 -2
- package/lib/cjs/serverErrors/ProxyError.js.map +1 -1
- package/lib/cjs/serverErrors/ServiceUnavailable.js +1 -1
- package/lib/cjs/serverErrors/ServiceUnavailable.js.map +1 -1
- package/lib/cjs/serverErrors/VariantAlsoNegotiates.js +1 -1
- package/lib/cjs/serverErrors/VariantAlsoNegotiates.js.map +1 -1
- package/lib/esm/clientErrors/BadMapping.js +2 -2
- package/lib/esm/clientErrors/BadMapping.js.map +1 -1
- package/lib/esm/clientErrors/BadRequest.js +1 -1
- package/lib/esm/clientErrors/BadRequest.js.map +1 -1
- package/lib/esm/clientErrors/Conflict.js +1 -1
- package/lib/esm/clientErrors/Conflict.js.map +1 -1
- package/lib/esm/clientErrors/ExpectationFailed.js +1 -1
- package/lib/esm/clientErrors/ExpectationFailed.js.map +1 -1
- package/lib/esm/clientErrors/Forbidden.js +1 -1
- package/lib/esm/clientErrors/Forbidden.js.map +1 -1
- package/lib/esm/clientErrors/Gone.js +1 -1
- package/lib/esm/clientErrors/Gone.js.map +1 -1
- package/lib/esm/clientErrors/ImATeapot.js +2 -2
- package/lib/esm/clientErrors/ImATeapot.js.map +1 -1
- package/lib/esm/clientErrors/LengthRequired.js +1 -1
- package/lib/esm/clientErrors/LengthRequired.js.map +1 -1
- package/lib/esm/clientErrors/MethodNotAllowed.js +1 -1
- package/lib/esm/clientErrors/MethodNotAllowed.js.map +1 -1
- package/lib/esm/clientErrors/MisdirectedRequest.js +1 -1
- package/lib/esm/clientErrors/MisdirectedRequest.js.map +1 -1
- package/lib/esm/clientErrors/NotAcceptable.js +1 -1
- package/lib/esm/clientErrors/NotAcceptable.js.map +1 -1
- package/lib/esm/clientErrors/NotFound.js +1 -1
- package/lib/esm/clientErrors/NotFound.js.map +1 -1
- package/lib/esm/clientErrors/PaymentRequired.js +1 -1
- package/lib/esm/clientErrors/PaymentRequired.js.map +1 -1
- package/lib/esm/clientErrors/PreconditionFailed.js +1 -1
- package/lib/esm/clientErrors/PreconditionFailed.js.map +1 -1
- package/lib/esm/clientErrors/PreconditionRequired.js +1 -1
- package/lib/esm/clientErrors/PreconditionRequired.js.map +1 -1
- package/lib/esm/clientErrors/ProxyAuthentificationRequired.js +1 -1
- package/lib/esm/clientErrors/ProxyAuthentificationRequired.js.map +1 -1
- package/lib/esm/clientErrors/RequestEntityTooLarge.js +1 -1
- package/lib/esm/clientErrors/RequestEntityTooLarge.js.map +1 -1
- package/lib/esm/clientErrors/RequestHeaderFieldsTooLarge.js +1 -1
- package/lib/esm/clientErrors/RequestHeaderFieldsTooLarge.js.map +1 -1
- package/lib/esm/clientErrors/RequestRangeUnsatisfiable.js +1 -1
- package/lib/esm/clientErrors/RequestRangeUnsatisfiable.js.map +1 -1
- package/lib/esm/clientErrors/RequestTimeout.js +1 -1
- package/lib/esm/clientErrors/RequestTimeout.js.map +1 -1
- package/lib/esm/clientErrors/RequestURITooLong.js +1 -1
- package/lib/esm/clientErrors/RequestURITooLong.js.map +1 -1
- package/lib/esm/clientErrors/TooManyRequests.js +1 -1
- package/lib/esm/clientErrors/TooManyRequests.js.map +1 -1
- package/lib/esm/clientErrors/Unauthorized.js +1 -1
- package/lib/esm/clientErrors/Unauthorized.js.map +1 -1
- package/lib/esm/clientErrors/UnavailableForLegalReasons.js +1 -1
- package/lib/esm/clientErrors/UnavailableForLegalReasons.js.map +1 -1
- package/lib/esm/clientErrors/UnprocessableEntity.js +1 -1
- package/lib/esm/clientErrors/UnprocessableEntity.js.map +1 -1
- package/lib/esm/clientErrors/UnsupportedMediaType.js +1 -1
- package/lib/esm/clientErrors/UnsupportedMediaType.js.map +1 -1
- package/lib/esm/clientErrors/UpgradeRequired.js +1 -1
- package/lib/esm/clientErrors/UpgradeRequired.js.map +1 -1
- package/lib/esm/core/Exception.js +14 -31
- package/lib/esm/core/Exception.js.map +1 -1
- package/lib/esm/redirections/MovedPermanently.js +1 -1
- package/lib/esm/redirections/MovedPermanently.js.map +1 -1
- package/lib/esm/redirections/MovedTemporarily.js +2 -2
- package/lib/esm/redirections/MovedTemporarily.js.map +1 -1
- package/lib/esm/redirections/MultipleChoices.js +1 -1
- package/lib/esm/redirections/MultipleChoices.js.map +1 -1
- package/lib/esm/redirections/NotModified.js +1 -1
- package/lib/esm/redirections/NotModified.js.map +1 -1
- package/lib/esm/redirections/PermanentRedirect.js +1 -1
- package/lib/esm/redirections/PermanentRedirect.js.map +1 -1
- package/lib/esm/redirections/SeeOther.js +1 -1
- package/lib/esm/redirections/SeeOther.js.map +1 -1
- package/lib/esm/redirections/TemporaryRedirect.js +1 -1
- package/lib/esm/redirections/TemporaryRedirect.js.map +1 -1
- package/lib/esm/redirections/UseProxy.js +1 -1
- package/lib/esm/redirections/UseProxy.js.map +1 -1
- package/lib/esm/serverErrors/BadGateway.js +1 -1
- package/lib/esm/serverErrors/BadGateway.js.map +1 -1
- package/lib/esm/serverErrors/BandwidthLimitExceeded.js +1 -1
- package/lib/esm/serverErrors/BandwidthLimitExceeded.js.map +1 -1
- package/lib/esm/serverErrors/GatewayTimeout.js +1 -1
- package/lib/esm/serverErrors/GatewayTimeout.js.map +1 -1
- package/lib/esm/serverErrors/InternalServerError.js +1 -1
- package/lib/esm/serverErrors/InternalServerError.js.map +1 -1
- package/lib/esm/serverErrors/NetworkAuthenticationRequired.js +1 -1
- package/lib/esm/serverErrors/NetworkAuthenticationRequired.js.map +1 -1
- package/lib/esm/serverErrors/NotExtended.js +1 -1
- package/lib/esm/serverErrors/NotExtended.js.map +1 -1
- package/lib/esm/serverErrors/NotImplemented.js +1 -1
- package/lib/esm/serverErrors/NotImplemented.js.map +1 -1
- package/lib/esm/serverErrors/ProxyError.js +2 -2
- package/lib/esm/serverErrors/ProxyError.js.map +1 -1
- package/lib/esm/serverErrors/ServiceUnavailable.js +1 -1
- package/lib/esm/serverErrors/ServiceUnavailable.js.map +1 -1
- package/lib/esm/serverErrors/VariantAlsoNegotiates.js +1 -1
- package/lib/esm/serverErrors/VariantAlsoNegotiates.js.map +1 -1
- package/package.json +8 -5
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BadMapping = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class BadMapping extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 421;
|
|
7
|
-
name = "BAD_MAPPING";
|
|
6
|
+
static { this.STATUS = 421; }
|
|
8
7
|
constructor(message, origin) {
|
|
9
8
|
super(BadMapping.STATUS, message, origin);
|
|
9
|
+
this.name = "BAD_MAPPING";
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
exports.BadMapping = BadMapping;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BadMapping.js","sourceRoot":"","sources":["../../../src/clientErrors/BadMapping.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,UAAW,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"BadMapping.js","sourceRoot":"","sources":["../../../src/clientErrors/BadMapping.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,UAAW,SAAQ,oCAAe;aAC7B,WAAM,GAAG,GAAG,CAAC;IAG7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAH5C,SAAI,GAAW,aAAa,CAAC;IAI7B,CAAC;;AANH,gCAOC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BadRequest = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class BadRequest extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 400;
|
|
6
|
+
static { this.STATUS = 400; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(BadRequest.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BadRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/BadRequest.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,UAAW,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"BadRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/BadRequest.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,UAAW,SAAQ,oCAAe;aAC7B,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,UAAU,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC5C,CAAC;;AALH,gCAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Conflict = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class Conflict extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 409;
|
|
6
|
+
static { this.STATUS = 409; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(Conflict.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conflict.js","sourceRoot":"","sources":["../../../src/clientErrors/Conflict.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,QAAS,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"Conflict.js","sourceRoot":"","sources":["../../../src/clientErrors/Conflict.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,QAAS,SAAQ,oCAAe;aAC3B,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;;AALH,4BAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ExpectationFailed = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class ExpectationFailed extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 417;
|
|
6
|
+
static { this.STATUS = 417; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(ExpectationFailed.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpectationFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/ExpectationFailed.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,iBAAkB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"ExpectationFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/ExpectationFailed.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,iBAAkB,SAAQ,oCAAe;aACpC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;;AALH,8CAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Forbidden = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class Forbidden extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 403;
|
|
6
|
+
static { this.STATUS = 403; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(Forbidden.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Forbidden.js","sourceRoot":"","sources":["../../../src/clientErrors/Forbidden.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,SAAU,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"Forbidden.js","sourceRoot":"","sources":["../../../src/clientErrors/Forbidden.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,SAAU,SAAQ,oCAAe;aAC5B,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3C,CAAC;;AALH,8BAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Gone = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class Gone extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 410;
|
|
6
|
+
static { this.STATUS = 410; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(Gone.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gone.js","sourceRoot":"","sources":["../../../src/clientErrors/Gone.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,IAAK,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"Gone.js","sourceRoot":"","sources":["../../../src/clientErrors/Gone.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,IAAK,SAAQ,oCAAe;aACvB,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,IAAI,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACtC,CAAC;;AALH,oBAMC"}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ImATeapot = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class ImATeapot extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 418;
|
|
7
|
-
name = "IM_A_TEAPOT";
|
|
6
|
+
static { this.STATUS = 418; }
|
|
8
7
|
constructor(message, origin) {
|
|
9
8
|
super(ImATeapot.STATUS, message, origin);
|
|
9
|
+
this.name = "IM_A_TEAPOT";
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
exports.ImATeapot = ImATeapot;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImATeapot.js","sourceRoot":"","sources":["../../../src/clientErrors/ImATeapot.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,SAAU,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"ImATeapot.js","sourceRoot":"","sources":["../../../src/clientErrors/ImATeapot.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,SAAU,SAAQ,oCAAe;aAC5B,WAAM,GAAG,GAAG,CAAC;IAG7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,SAAS,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAH3C,SAAI,GAAW,aAAa,CAAC;IAI7B,CAAC;;AANH,8BAOC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LengthRequired = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class LengthRequired extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 411;
|
|
6
|
+
static { this.STATUS = 411; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(LengthRequired.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LengthRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/LengthRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,cAAe,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"LengthRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/LengthRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,cAAe,SAAQ,oCAAe;aACjC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;;AALH,wCAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MethodNotAllowed = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class MethodNotAllowed extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 405;
|
|
6
|
+
static { this.STATUS = 405; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(MethodNotAllowed.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MethodNotAllowed.js","sourceRoot":"","sources":["../../../src/clientErrors/MethodNotAllowed.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,gBAAiB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"MethodNotAllowed.js","sourceRoot":"","sources":["../../../src/clientErrors/MethodNotAllowed.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,gBAAiB,SAAQ,oCAAe;aACnC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAClD,CAAC;;AALH,4CAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MisdirectedRequest = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class MisdirectedRequest extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 421;
|
|
6
|
+
static { this.STATUS = 421; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(MisdirectedRequest.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MisdirectedRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/MisdirectedRequest.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,kBAAmB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"MisdirectedRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/MisdirectedRequest.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,kBAAmB,SAAQ,oCAAe;aACrC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC;;AALH,gDAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NotAcceptable = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class NotAcceptable extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 406;
|
|
6
|
+
static { this.STATUS = 406; }
|
|
7
7
|
constructor(message, origin = "You must accept content-type " + message) {
|
|
8
8
|
super(NotAcceptable.STATUS, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotAcceptable.js","sourceRoot":"","sources":["../../../src/clientErrors/NotAcceptable.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,aAAc,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"NotAcceptable.js","sourceRoot":"","sources":["../../../src/clientErrors/NotAcceptable.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,aAAc,SAAQ,oCAAe;aAChC,WAAM,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;;AALH,sCAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NotFound = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class NotFound extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 404;
|
|
6
|
+
static { this.STATUS = 404; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(NotFound.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotFound.js","sourceRoot":"","sources":["../../../src/clientErrors/NotFound.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,QAAS,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"NotFound.js","sourceRoot":"","sources":["../../../src/clientErrors/NotFound.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,QAAS,SAAQ,oCAAe;aAC3B,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,QAAQ,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC1C,CAAC;;AALH,4BAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PaymentRequired = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class PaymentRequired extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 402;
|
|
6
|
+
static { this.STATUS = 402; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(PaymentRequired.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PaymentRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,eAAgB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"PaymentRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PaymentRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,eAAgB,SAAQ,oCAAe;aAClC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;;AALH,0CAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PreconditionFailed = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class PreconditionFailed extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 412;
|
|
6
|
+
static { this.STATUS = 412; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(PreconditionFailed.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreconditionFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionFailed.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,kBAAmB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"PreconditionFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionFailed.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,kBAAmB,SAAQ,oCAAe;aACrC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,kBAAkB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACpD,CAAC;;AALH,gDAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PreconditionRequired = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class PreconditionRequired extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 428;
|
|
6
|
+
static { this.STATUS = 428; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(PreconditionRequired.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreconditionRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,oBAAqB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"PreconditionRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,oBAAqB,SAAQ,oCAAe;aACvC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,oBAAoB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACtD,CAAC;;AALH,oDAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ProxyAuthentificationRequired = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class ProxyAuthentificationRequired extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 407;
|
|
6
|
+
static { this.STATUS = 407; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(ProxyAuthentificationRequired.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProxyAuthentificationRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/ProxyAuthentificationRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,6BAA8B,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"ProxyAuthentificationRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/ProxyAuthentificationRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,6BAA8B,SAAQ,oCAAe;aAChD,WAAM,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"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestEntityTooLarge = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class RequestEntityTooLarge extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 413;
|
|
6
|
+
static { this.STATUS = 413; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(RequestEntityTooLarge.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestEntityTooLarge.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestEntityTooLarge.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,qBAAsB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"RequestEntityTooLarge.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestEntityTooLarge.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,qBAAsB,SAAQ,oCAAe;aACxC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,qBAAqB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACvD,CAAC;;AALH,sDAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestHeaderFieldsTooLarge = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class RequestHeaderFieldsTooLarge extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 431;
|
|
6
|
+
static { this.STATUS = 431; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(RequestHeaderFieldsTooLarge.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestHeaderFieldsTooLarge.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestHeaderFieldsTooLarge.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,2BAA4B,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"RequestHeaderFieldsTooLarge.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestHeaderFieldsTooLarge.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,2BAA4B,SAAQ,oCAAe;aAC9C,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,2BAA2B,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC;;AALH,kEAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestRangeUnsatisfiable = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class RequestRangeUnsatisfiable extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 416;
|
|
6
|
+
static { this.STATUS = 416; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(RequestRangeUnsatisfiable.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestRangeUnsatisfiable.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestRangeUnsatisfiable.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,yBAA0B,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"RequestRangeUnsatisfiable.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestRangeUnsatisfiable.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,yBAA0B,SAAQ,oCAAe;aAC5C,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,yBAAyB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3D,CAAC;;AALH,8DAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestTimeout = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class RequestTimeout extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 408;
|
|
6
|
+
static { this.STATUS = 408; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(RequestTimeout.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTimeout.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestTimeout.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,cAAe,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"RequestTimeout.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestTimeout.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,cAAe,SAAQ,oCAAe;aACjC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAChD,CAAC;;AALH,wCAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestURITooLong = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class RequestURITooLong extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 414;
|
|
6
|
+
static { this.STATUS = 414; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(RequestURITooLong.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestURITooLong.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestURITooLong.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,iBAAkB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"RequestURITooLong.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestURITooLong.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,iBAAkB,SAAQ,oCAAe;aACpC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;;AALH,8CAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TooManyRequests = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class TooManyRequests extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 429;
|
|
6
|
+
static { this.STATUS = 429; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(TooManyRequests.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooManyRequests.js","sourceRoot":"","sources":["../../../src/clientErrors/TooManyRequests.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,eAAgB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"TooManyRequests.js","sourceRoot":"","sources":["../../../src/clientErrors/TooManyRequests.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,eAAgB,SAAQ,oCAAe;aAClC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;;AALH,0CAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Unauthorized = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class Unauthorized extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 401;
|
|
6
|
+
static { this.STATUS = 401; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(Unauthorized.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Unauthorized.js","sourceRoot":"","sources":["../../../src/clientErrors/Unauthorized.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,YAAa,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"Unauthorized.js","sourceRoot":"","sources":["../../../src/clientErrors/Unauthorized.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,YAAa,SAAQ,oCAAe;aAC/B,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC9C,CAAC;;AALH,oCAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UnavailableForLegalReasons = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class UnavailableForLegalReasons extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 451;
|
|
6
|
+
static { this.STATUS = 451; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(UnavailableForLegalReasons.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnavailableForLegalReasons.js","sourceRoot":"","sources":["../../../src/clientErrors/UnavailableForLegalReasons.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,0BAA2B,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"UnavailableForLegalReasons.js","sourceRoot":"","sources":["../../../src/clientErrors/UnavailableForLegalReasons.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,0BAA2B,SAAQ,oCAAe;aAC7C,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC5D,CAAC;;AALH,gEAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UnprocessableEntity = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class UnprocessableEntity extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 422;
|
|
6
|
+
static { this.STATUS = 422; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(UnprocessableEntity.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnprocessableEntity.js","sourceRoot":"","sources":["../../../src/clientErrors/UnprocessableEntity.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,mBAAoB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"UnprocessableEntity.js","sourceRoot":"","sources":["../../../src/clientErrors/UnprocessableEntity.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,mBAAoB,SAAQ,oCAAe;aACtC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACrD,CAAC;;AALH,kDAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UnsupportedMediaType = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class UnsupportedMediaType extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 415;
|
|
6
|
+
static { this.STATUS = 415; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(UnsupportedMediaType.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnsupportedMediaType.js","sourceRoot":"","sources":["../../../src/clientErrors/UnsupportedMediaType.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,oBAAqB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"UnsupportedMediaType.js","sourceRoot":"","sources":["../../../src/clientErrors/UnsupportedMediaType.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,oBAAqB,SAAQ,oCAAe;aACvC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,oBAAoB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACtD,CAAC;;AALH,oDAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpgradeRequired = void 0;
|
|
4
4
|
const ClientException_js_1 = require("../core/ClientException.js");
|
|
5
5
|
class UpgradeRequired extends ClientException_js_1.ClientException {
|
|
6
|
-
static STATUS = 426;
|
|
6
|
+
static { this.STATUS = 426; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(UpgradeRequired.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpgradeRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/UpgradeRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,eAAgB,SAAQ,oCAAe;
|
|
1
|
+
{"version":3,"file":"UpgradeRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/UpgradeRequired.ts"],"names":[],"mappings":";;;AAAA,mEAA2D;AAE3D,MAAa,eAAgB,SAAQ,oCAAe;aAClC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;;AALH,0CAMC"}
|
|
@@ -6,37 +6,6 @@ const core_1 = require("@tsed/core");
|
|
|
6
6
|
const change_case_1 = require("change-case");
|
|
7
7
|
const statuses_1 = tslib_1.__importDefault(require("statuses"));
|
|
8
8
|
class Exception extends Error {
|
|
9
|
-
/**
|
|
10
|
-
* Exception base name
|
|
11
|
-
* @type {string}
|
|
12
|
-
*/
|
|
13
|
-
name = "HTTP_EXCEPTION";
|
|
14
|
-
/**
|
|
15
|
-
* Message of the exception
|
|
16
|
-
*/
|
|
17
|
-
message;
|
|
18
|
-
/**
|
|
19
|
-
* Exception type
|
|
20
|
-
* @type {string}
|
|
21
|
-
*/
|
|
22
|
-
type = "HTTP_EXCEPTION";
|
|
23
|
-
/**
|
|
24
|
-
* Stack calling
|
|
25
|
-
*/
|
|
26
|
-
stack;
|
|
27
|
-
origin;
|
|
28
|
-
/**
|
|
29
|
-
* HTTP Code Status
|
|
30
|
-
*/
|
|
31
|
-
status;
|
|
32
|
-
/**
|
|
33
|
-
*
|
|
34
|
-
*/
|
|
35
|
-
body;
|
|
36
|
-
/**
|
|
37
|
-
* Headers must be sent to the response
|
|
38
|
-
*/
|
|
39
|
-
headers = {};
|
|
40
9
|
static validate(status, family) {
|
|
41
10
|
if (status < 100 || status >= 600) {
|
|
42
11
|
throw new Error("Status must be between 100 and 599");
|
|
@@ -48,6 +17,20 @@ class Exception extends Error {
|
|
|
48
17
|
}
|
|
49
18
|
constructor(status = 500, message = "", origin) {
|
|
50
19
|
super(message);
|
|
20
|
+
/**
|
|
21
|
+
* Exception base name
|
|
22
|
+
* @type {string}
|
|
23
|
+
*/
|
|
24
|
+
this.name = "HTTP_EXCEPTION";
|
|
25
|
+
/**
|
|
26
|
+
* Exception type
|
|
27
|
+
* @type {string}
|
|
28
|
+
*/
|
|
29
|
+
this.type = "HTTP_EXCEPTION";
|
|
30
|
+
/**
|
|
31
|
+
* Headers must be sent to the response
|
|
32
|
+
*/
|
|
33
|
+
this.headers = {};
|
|
51
34
|
this.status = status;
|
|
52
35
|
this.message = message;
|
|
53
36
|
this.name = this.#getStatusConstant();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Exception.js","sourceRoot":"","sources":["../../../src/core/Exception.ts"],"names":[],"mappings":";;;;AAAA,qCAA2C;AAC3C,6CAAyC;AACzC,gEAAgC;AAGhC,MAAa,SAAU,SAAQ,KAAK;
|
|
1
|
+
{"version":3,"file":"Exception.js","sourceRoot":"","sources":["../../../src/core/Exception.ts"],"names":[],"mappings":"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"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MovedPermanently = void 0;
|
|
4
4
|
const RedirectException_js_1 = require("../core/RedirectException.js");
|
|
5
5
|
class MovedPermanently extends RedirectException_js_1.RedirectException {
|
|
6
|
-
static STATUS = 301;
|
|
6
|
+
static { this.STATUS = 301; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(MovedPermanently.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MovedPermanently.js","sourceRoot":"","sources":["../../../src/redirections/MovedPermanently.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,gBAAiB,SAAQ,wCAAiB;
|
|
1
|
+
{"version":3,"file":"MovedPermanently.js","sourceRoot":"","sources":["../../../src/redirections/MovedPermanently.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,gBAAiB,SAAQ,wCAAiB;aACrC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAClD,CAAC;;AALH,4CAMC"}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MovedTemporarily = void 0;
|
|
4
4
|
const RedirectException_js_1 = require("../core/RedirectException.js");
|
|
5
5
|
class MovedTemporarily extends RedirectException_js_1.RedirectException {
|
|
6
|
-
static STATUS = 302;
|
|
7
|
-
name = "MOVED_TEMPORARILY";
|
|
6
|
+
static { this.STATUS = 302; }
|
|
8
7
|
constructor(message, origin) {
|
|
9
8
|
super(MovedTemporarily.STATUS, message, origin);
|
|
9
|
+
this.name = "MOVED_TEMPORARILY";
|
|
10
10
|
}
|
|
11
11
|
}
|
|
12
12
|
exports.MovedTemporarily = MovedTemporarily;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MovedTemporarily.js","sourceRoot":"","sources":["../../../src/redirections/MovedTemporarily.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,gBAAiB,SAAQ,wCAAiB;
|
|
1
|
+
{"version":3,"file":"MovedTemporarily.js","sourceRoot":"","sources":["../../../src/redirections/MovedTemporarily.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,gBAAiB,SAAQ,wCAAiB;aACrC,WAAM,GAAG,GAAG,CAAC;IAG7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,gBAAgB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;QAHlD,SAAI,GAAW,mBAAmB,CAAC;IAInC,CAAC;;AANH,4CAOC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MultipleChoices = void 0;
|
|
4
4
|
const RedirectException_js_1 = require("../core/RedirectException.js");
|
|
5
5
|
class MultipleChoices extends RedirectException_js_1.RedirectException {
|
|
6
|
-
static STATUS = 300;
|
|
6
|
+
static { this.STATUS = 300; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(MultipleChoices.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MultipleChoices.js","sourceRoot":"","sources":["../../../src/redirections/MultipleChoices.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,eAAgB,SAAQ,wCAAiB;
|
|
1
|
+
{"version":3,"file":"MultipleChoices.js","sourceRoot":"","sources":["../../../src/redirections/MultipleChoices.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,eAAgB,SAAQ,wCAAiB;aACpC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACjD,CAAC;;AALH,0CAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NotModified = void 0;
|
|
4
4
|
const RedirectException_js_1 = require("../core/RedirectException.js");
|
|
5
5
|
class NotModified extends RedirectException_js_1.RedirectException {
|
|
6
|
-
static STATUS = 304;
|
|
6
|
+
static { this.STATUS = 304; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(NotModified.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotModified.js","sourceRoot":"","sources":["../../../src/redirections/NotModified.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,WAAY,SAAQ,wCAAiB;
|
|
1
|
+
{"version":3,"file":"NotModified.js","sourceRoot":"","sources":["../../../src/redirections/NotModified.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,WAAY,SAAQ,wCAAiB;aAChC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,WAAW,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7C,CAAC;;AALH,kCAMC"}
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PermanentRedirect = void 0;
|
|
4
4
|
const RedirectException_js_1 = require("../core/RedirectException.js");
|
|
5
5
|
class PermanentRedirect extends RedirectException_js_1.RedirectException {
|
|
6
|
-
static STATUS = 308;
|
|
6
|
+
static { this.STATUS = 308; }
|
|
7
7
|
constructor(message, origin) {
|
|
8
8
|
super(PermanentRedirect.STATUS, message, origin);
|
|
9
9
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PermanentRedirect.js","sourceRoot":"","sources":["../../../src/redirections/PermanentRedirect.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,iBAAkB,SAAQ,wCAAiB;
|
|
1
|
+
{"version":3,"file":"PermanentRedirect.js","sourceRoot":"","sources":["../../../src/redirections/PermanentRedirect.ts"],"names":[],"mappings":";;;AAAA,uEAA+D;AAE/D,MAAa,iBAAkB,SAAQ,wCAAiB;aACtC,WAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,iBAAiB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACnD,CAAC;;AALH,8CAMC"}
|