@tsed/exceptions 7.0.0-beta.12 → 7.0.0-beta.15
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/jest.config.js +14 -0
- 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 +31 -14
- 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/ServiceUnvailable.js +1 -1
- package/lib/cjs/serverErrors/ServiceUnvailable.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 +31 -14
- 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/ServiceUnvailable.js +1 -1
- package/lib/esm/serverErrors/ServiceUnvailable.js.map +1 -1
- package/lib/esm/serverErrors/VariantAlsoNegotiates.js +1 -1
- package/lib/esm/serverErrors/VariantAlsoNegotiates.js.map +1 -1
- package/package.json +4 -3
- package/readme.md +1 -1
package/jest.config.js
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// For a detailed explanation regarding each configuration property, visit:
|
|
2
|
+
// https://jestjs.io/docs/en/configuration.html
|
|
3
|
+
|
|
4
|
+
module.exports = {
|
|
5
|
+
...require("@tsed/jest-config")(__dirname, "exceptions"),
|
|
6
|
+
coverageThreshold: {
|
|
7
|
+
global: {
|
|
8
|
+
branches: 85.18,
|
|
9
|
+
functions: 100,
|
|
10
|
+
lines: 99,
|
|
11
|
+
statements: 99.03
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
};
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BadMapping = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class BadMapping extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 421;
|
|
7
|
+
name = "BAD_MAPPING";
|
|
6
8
|
constructor(message, origin) {
|
|
7
9
|
super(BadMapping.STATUS, message, origin);
|
|
8
|
-
this.name = "BAD_MAPPING";
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
exports.BadMapping = BadMapping;
|
|
12
|
-
BadMapping.STATUS = 421;
|
|
13
13
|
//# sourceMappingURL=BadMapping.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BadMapping.js","sourceRoot":"","sources":["../../../src/clientErrors/BadMapping.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,UAAW,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"BadMapping.js","sourceRoot":"","sources":["../../../src/clientErrors/BadMapping.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class BadMapping extends Exception {\n static readonly STATUS = 421;\n name: string = \"BAD_MAPPING\";\n\n constructor(message: string, origin?: Error | string | any) {\n super(BadMapping.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.BadRequest = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class BadRequest extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 400;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(BadRequest.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.BadRequest = BadRequest;
|
|
11
|
-
BadRequest.STATUS = 400;
|
|
12
12
|
//# sourceMappingURL=BadRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BadRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/BadRequest.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,UAAW,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"BadRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/BadRequest.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class BadRequest extends Exception {\n static readonly STATUS = 400;\n\n constructor(message: string, origin?: Error | string | any) {\n super(BadRequest.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Conflict = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class Conflict extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 409;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(Conflict.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.Conflict = Conflict;
|
|
11
|
-
Conflict.STATUS = 409;
|
|
12
12
|
//# sourceMappingURL=Conflict.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Conflict.js","sourceRoot":"","sources":["../../../src/clientErrors/Conflict.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,QAAS,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"Conflict.js","sourceRoot":"","sources":["../../../src/clientErrors/Conflict.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class Conflict extends Exception {\n static readonly STATUS = 409;\n\n constructor(message: string, origin?: Error | string | any) {\n super(Conflict.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ExpectationFailed = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class ExpectationFailed extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 417;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(ExpectationFailed.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.ExpectationFailed = ExpectationFailed;
|
|
11
|
-
ExpectationFailed.STATUS = 417;
|
|
12
12
|
//# sourceMappingURL=ExpectationFailed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExpectationFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/ExpectationFailed.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,iBAAkB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"ExpectationFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/ExpectationFailed.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class ExpectationFailed extends Exception {\n static readonly STATUS = 417;\n\n constructor(message: string, origin?: Error | string | any) {\n super(ExpectationFailed.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Forbidden = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class Forbidden extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 403;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(Forbidden.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.Forbidden = Forbidden;
|
|
11
|
-
Forbidden.STATUS = 403;
|
|
12
12
|
//# sourceMappingURL=Forbidden.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Forbidden.js","sourceRoot":"","sources":["../../../src/clientErrors/Forbidden.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,SAAU,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"Forbidden.js","sourceRoot":"","sources":["../../../src/clientErrors/Forbidden.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,SAAU,SAAQ,qBAAS;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;;AALH,8BAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class Forbidden extends Exception {\n static readonly STATUS = 403;\n\n constructor(message: string, origin?: Error | string | any) {\n super(Forbidden.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Gone = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class Gone extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 410;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(Gone.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.Gone = Gone;
|
|
11
|
-
Gone.STATUS = 410;
|
|
12
12
|
//# sourceMappingURL=Gone.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Gone.js","sourceRoot":"","sources":["../../../src/clientErrors/Gone.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,IAAK,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"Gone.js","sourceRoot":"","sources":["../../../src/clientErrors/Gone.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,IAAK,SAAQ,qBAAS;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;;AALH,oBAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class Gone extends Exception {\n static readonly STATUS = 410;\n\n constructor(message: string, origin?: Error | string | any) {\n super(Gone.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,11 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ImATeapot = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class ImATeapot extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 418;
|
|
7
|
+
name = "IM_A_TEAPOT";
|
|
6
8
|
constructor(message, origin) {
|
|
7
9
|
super(ImATeapot.STATUS, message, origin);
|
|
8
|
-
this.name = "IM_A_TEAPOT";
|
|
9
10
|
}
|
|
10
11
|
}
|
|
11
12
|
exports.ImATeapot = ImATeapot;
|
|
12
|
-
ImATeapot.STATUS = 418;
|
|
13
13
|
//# sourceMappingURL=ImATeapot.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ImATeapot.js","sourceRoot":"","sources":["../../../src/clientErrors/ImATeapot.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,SAAU,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"ImATeapot.js","sourceRoot":"","sources":["../../../src/clientErrors/ImATeapot.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,SAAU,SAAQ,qBAAS;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;;AANH,8BAOC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class ImATeapot extends Exception {\n static readonly STATUS = 418;\n name: string = \"IM_A_TEAPOT\";\n\n constructor(message: string, origin?: Error | string | any) {\n super(ImATeapot.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.LengthRequired = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class LengthRequired extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 411;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(LengthRequired.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.LengthRequired = LengthRequired;
|
|
11
|
-
LengthRequired.STATUS = 411;
|
|
12
12
|
//# sourceMappingURL=LengthRequired.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"LengthRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/LengthRequired.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,cAAe,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"LengthRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/LengthRequired.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class LengthRequired extends Exception {\n static readonly STATUS = 411;\n\n constructor(message: string, origin?: Error | string | any) {\n super(LengthRequired.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MethodNotAllowed = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class MethodNotAllowed extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 405;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(MethodNotAllowed.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.MethodNotAllowed = MethodNotAllowed;
|
|
11
|
-
MethodNotAllowed.STATUS = 405;
|
|
12
12
|
//# sourceMappingURL=MethodNotAllowed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MethodNotAllowed.js","sourceRoot":"","sources":["../../../src/clientErrors/MethodNotAllowed.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,gBAAiB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"MethodNotAllowed.js","sourceRoot":"","sources":["../../../src/clientErrors/MethodNotAllowed.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class MethodNotAllowed extends Exception {\n static readonly STATUS = 405;\n\n constructor(message: string, origin?: Error | string | any) {\n super(MethodNotAllowed.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.MisdirectedRequest = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class MisdirectedRequest extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 421;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(MisdirectedRequest.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.MisdirectedRequest = MisdirectedRequest;
|
|
11
|
-
MisdirectedRequest.STATUS = 421;
|
|
12
12
|
//# sourceMappingURL=MisdirectedRequest.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MisdirectedRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/MisdirectedRequest.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,kBAAmB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"MisdirectedRequest.js","sourceRoot":"","sources":["../../../src/clientErrors/MisdirectedRequest.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,kBAAmB,SAAQ,qBAAS;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;;AALH,gDAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class MisdirectedRequest extends Exception {\n static readonly STATUS = 421;\n\n constructor(message: string, origin?: Error | string | any) {\n super(MisdirectedRequest.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NotAcceptable = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class NotAcceptable extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 406;
|
|
6
7
|
constructor(message, origin = "You must accept content-type " + message) {
|
|
7
8
|
super(NotAcceptable.STATUS, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.NotAcceptable = NotAcceptable;
|
|
11
|
-
NotAcceptable.STATUS = 406;
|
|
12
12
|
//# sourceMappingURL=NotAcceptable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotAcceptable.js","sourceRoot":"","sources":["../../../src/clientErrors/NotAcceptable.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,aAAc,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"NotAcceptable.js","sourceRoot":"","sources":["../../../src/clientErrors/NotAcceptable.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,aAAc,SAAQ,qBAAS;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;;AALH,sCAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NotAcceptable extends Exception {\n static readonly STATUS = 406;\n\n constructor(message: string, origin: Error | string | any = \"You must accept content-type \" + message) {\n super(NotAcceptable.STATUS, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NotFound = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class NotFound extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 404;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(NotFound.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.NotFound = NotFound;
|
|
11
|
-
NotFound.STATUS = 404;
|
|
12
12
|
//# sourceMappingURL=NotFound.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NotFound.js","sourceRoot":"","sources":["../../../src/clientErrors/NotFound.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,QAAS,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"NotFound.js","sourceRoot":"","sources":["../../../src/clientErrors/NotFound.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class NotFound extends Exception {\n static readonly STATUS = 404;\n\n constructor(message: string, origin?: Error | string | any) {\n super(NotFound.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PaymentRequired = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class PaymentRequired extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 402;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(PaymentRequired.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.PaymentRequired = PaymentRequired;
|
|
11
|
-
PaymentRequired.STATUS = 402;
|
|
12
12
|
//# sourceMappingURL=PaymentRequired.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PaymentRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PaymentRequired.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,eAAgB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"PaymentRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PaymentRequired.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class PaymentRequired extends Exception {\n static readonly STATUS = 402;\n\n constructor(message: string, origin?: Error | string | any) {\n super(PaymentRequired.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PreconditionFailed = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class PreconditionFailed extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 412;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(PreconditionFailed.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.PreconditionFailed = PreconditionFailed;
|
|
11
|
-
PreconditionFailed.STATUS = 412;
|
|
12
12
|
//# sourceMappingURL=PreconditionFailed.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreconditionFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionFailed.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,kBAAmB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"PreconditionFailed.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionFailed.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,kBAAmB,SAAQ,qBAAS;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;;AALH,gDAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class PreconditionFailed extends Exception {\n static readonly STATUS = 412;\n\n constructor(message: string, origin?: Error | string | any) {\n super(PreconditionFailed.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.PreconditionRequired = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class PreconditionRequired extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 428;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(PreconditionRequired.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.PreconditionRequired = PreconditionRequired;
|
|
11
|
-
PreconditionRequired.STATUS = 428;
|
|
12
12
|
//# sourceMappingURL=PreconditionRequired.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PreconditionRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionRequired.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,oBAAqB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"PreconditionRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/PreconditionRequired.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,oBAAqB,SAAQ,qBAAS;IACjD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,oBAAoB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACtD,CAAC;;AALH,oDAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class PreconditionRequired extends Exception {\n static readonly STATUS = 428;\n\n constructor(message: string, origin?: Error | string | any) {\n super(PreconditionRequired.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.ProxyAuthentificationRequired = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class ProxyAuthentificationRequired extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 407;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(ProxyAuthentificationRequired.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.ProxyAuthentificationRequired = ProxyAuthentificationRequired;
|
|
11
|
-
ProxyAuthentificationRequired.STATUS = 407;
|
|
12
12
|
//# sourceMappingURL=ProxyAuthentificationRequired.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ProxyAuthentificationRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/ProxyAuthentificationRequired.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,6BAA8B,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"ProxyAuthentificationRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/ProxyAuthentificationRequired.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class ProxyAuthentificationRequired extends Exception {\n static readonly STATUS = 407;\n\n constructor(message: string, origin?: Error | string | any) {\n super(ProxyAuthentificationRequired.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestEntityTooLarge = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class RequestEntityTooLarge extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 413;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(RequestEntityTooLarge.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.RequestEntityTooLarge = RequestEntityTooLarge;
|
|
11
|
-
RequestEntityTooLarge.STATUS = 413;
|
|
12
12
|
//# sourceMappingURL=RequestEntityTooLarge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestEntityTooLarge.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestEntityTooLarge.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,qBAAsB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"RequestEntityTooLarge.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestEntityTooLarge.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class RequestEntityTooLarge extends Exception {\n static readonly STATUS = 413;\n\n constructor(message: string, origin?: Error | string | any) {\n super(RequestEntityTooLarge.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestHeaderFieldsTooLarge = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class RequestHeaderFieldsTooLarge extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 431;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(RequestHeaderFieldsTooLarge.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.RequestHeaderFieldsTooLarge = RequestHeaderFieldsTooLarge;
|
|
11
|
-
RequestHeaderFieldsTooLarge.STATUS = 431;
|
|
12
12
|
//# sourceMappingURL=RequestHeaderFieldsTooLarge.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestHeaderFieldsTooLarge.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestHeaderFieldsTooLarge.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,2BAA4B,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"RequestHeaderFieldsTooLarge.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestHeaderFieldsTooLarge.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,2BAA4B,SAAQ,qBAAS;IACxD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,2BAA2B,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC;;AALH,kEAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class RequestHeaderFieldsTooLarge extends Exception {\n static readonly STATUS = 431;\n\n constructor(message: string, origin?: Error | string | any) {\n super(RequestHeaderFieldsTooLarge.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestRangeUnsatisfiable = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class RequestRangeUnsatisfiable extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 416;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(RequestRangeUnsatisfiable.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.RequestRangeUnsatisfiable = RequestRangeUnsatisfiable;
|
|
11
|
-
RequestRangeUnsatisfiable.STATUS = 416;
|
|
12
12
|
//# sourceMappingURL=RequestRangeUnsatisfiable.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestRangeUnsatisfiable.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestRangeUnsatisfiable.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,yBAA0B,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"RequestRangeUnsatisfiable.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestRangeUnsatisfiable.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,yBAA0B,SAAQ,qBAAS;IACtD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,yBAAyB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC3D,CAAC;;AALH,8DAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class RequestRangeUnsatisfiable extends Exception {\n static readonly STATUS = 416;\n\n constructor(message: string, origin?: Error | string | any) {\n super(RequestRangeUnsatisfiable.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestTimeout = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class RequestTimeout extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 408;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(RequestTimeout.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.RequestTimeout = RequestTimeout;
|
|
11
|
-
RequestTimeout.STATUS = 408;
|
|
12
12
|
//# sourceMappingURL=RequestTimeout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestTimeout.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestTimeout.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,cAAe,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"RequestTimeout.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestTimeout.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class RequestTimeout extends Exception {\n static readonly STATUS = 408;\n\n constructor(message: string, origin?: Error | string | any) {\n super(RequestTimeout.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.RequestURITooLong = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class RequestURITooLong extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 414;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(RequestURITooLong.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.RequestURITooLong = RequestURITooLong;
|
|
11
|
-
RequestURITooLong.STATUS = 414;
|
|
12
12
|
//# sourceMappingURL=RequestURITooLong.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"RequestURITooLong.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestURITooLong.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,iBAAkB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"RequestURITooLong.js","sourceRoot":"","sources":["../../../src/clientErrors/RequestURITooLong.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class RequestURITooLong extends Exception {\n static readonly STATUS = 414;\n\n constructor(message: string, origin?: Error | string | any) {\n super(RequestURITooLong.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.TooManyRequests = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class TooManyRequests extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 429;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(TooManyRequests.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.TooManyRequests = TooManyRequests;
|
|
11
|
-
TooManyRequests.STATUS = 429;
|
|
12
12
|
//# sourceMappingURL=TooManyRequests.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TooManyRequests.js","sourceRoot":"","sources":["../../../src/clientErrors/TooManyRequests.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,eAAgB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"TooManyRequests.js","sourceRoot":"","sources":["../../../src/clientErrors/TooManyRequests.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class TooManyRequests extends Exception {\n static readonly STATUS = 429;\n\n constructor(message: string, origin?: Error | string | any) {\n super(TooManyRequests.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.Unauthorized = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class Unauthorized extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 401;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(Unauthorized.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.Unauthorized = Unauthorized;
|
|
11
|
-
Unauthorized.STATUS = 401;
|
|
12
12
|
//# sourceMappingURL=Unauthorized.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Unauthorized.js","sourceRoot":"","sources":["../../../src/clientErrors/Unauthorized.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,YAAa,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"Unauthorized.js","sourceRoot":"","sources":["../../../src/clientErrors/Unauthorized.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,YAAa,SAAQ,qBAAS;IACzC,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC9C,CAAC;;AALH,oCAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class Unauthorized extends Exception {\n static readonly STATUS = 401;\n\n constructor(message: string, origin?: Error | string | any) {\n super(Unauthorized.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UnavailableForLegalReasons = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class UnavailableForLegalReasons extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 451;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(UnavailableForLegalReasons.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.UnavailableForLegalReasons = UnavailableForLegalReasons;
|
|
11
|
-
UnavailableForLegalReasons.STATUS = 451;
|
|
12
12
|
//# sourceMappingURL=UnavailableForLegalReasons.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnavailableForLegalReasons.js","sourceRoot":"","sources":["../../../src/clientErrors/UnavailableForLegalReasons.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,0BAA2B,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"UnavailableForLegalReasons.js","sourceRoot":"","sources":["../../../src/clientErrors/UnavailableForLegalReasons.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,0BAA2B,SAAQ,qBAAS;IACvD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,0BAA0B,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IAC5D,CAAC;;AALH,gEAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class UnavailableForLegalReasons extends Exception {\n static readonly STATUS = 451;\n\n constructor(message: string, origin?: Error | string | any) {\n super(UnavailableForLegalReasons.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UnprocessableEntity = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class UnprocessableEntity extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 422;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(UnprocessableEntity.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.UnprocessableEntity = UnprocessableEntity;
|
|
11
|
-
UnprocessableEntity.STATUS = 422;
|
|
12
12
|
//# sourceMappingURL=UnprocessableEntity.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnprocessableEntity.js","sourceRoot":"","sources":["../../../src/clientErrors/UnprocessableEntity.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,mBAAoB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"UnprocessableEntity.js","sourceRoot":"","sources":["../../../src/clientErrors/UnprocessableEntity.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class UnprocessableEntity extends Exception {\n static readonly STATUS = 422;\n\n constructor(message: string, origin?: Error | string | any) {\n super(UnprocessableEntity.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UnsupportedMediaType = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class UnsupportedMediaType extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 415;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(UnsupportedMediaType.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.UnsupportedMediaType = UnsupportedMediaType;
|
|
11
|
-
UnsupportedMediaType.STATUS = 415;
|
|
12
12
|
//# sourceMappingURL=UnsupportedMediaType.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UnsupportedMediaType.js","sourceRoot":"","sources":["../../../src/clientErrors/UnsupportedMediaType.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,oBAAqB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"UnsupportedMediaType.js","sourceRoot":"","sources":["../../../src/clientErrors/UnsupportedMediaType.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,oBAAqB,SAAQ,qBAAS;IACjD,MAAM,CAAU,MAAM,GAAG,GAAG,CAAC;IAE7B,YAAY,OAAe,EAAE,MAA6B;QACxD,KAAK,CAAC,oBAAoB,CAAC,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC;IACtD,CAAC;;AALH,oDAMC","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class UnsupportedMediaType extends Exception {\n static readonly STATUS = 415;\n\n constructor(message: string, origin?: Error | string | any) {\n super(UnsupportedMediaType.STATUS, message, origin);\n }\n}\n"]}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.UpgradeRequired = void 0;
|
|
4
4
|
const Exception_1 = require("../core/Exception");
|
|
5
5
|
class UpgradeRequired extends Exception_1.Exception {
|
|
6
|
+
static STATUS = 426;
|
|
6
7
|
constructor(message, origin) {
|
|
7
8
|
super(UpgradeRequired.STATUS, message, origin);
|
|
8
9
|
}
|
|
9
10
|
}
|
|
10
11
|
exports.UpgradeRequired = UpgradeRequired;
|
|
11
|
-
UpgradeRequired.STATUS = 426;
|
|
12
12
|
//# sourceMappingURL=UpgradeRequired.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpgradeRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/UpgradeRequired.ts"],"names":[],"mappings":";;;AAAA,iDAA4C;AAE5C,MAAa,eAAgB,SAAQ,qBAAS;
|
|
1
|
+
{"version":3,"file":"UpgradeRequired.js","sourceRoot":"","sources":["../../../src/clientErrors/UpgradeRequired.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","sourcesContent":["import {Exception} from \"../core/Exception\";\n\nexport class UpgradeRequired extends Exception {\n static readonly STATUS = 426;\n\n constructor(message: string, origin?: Error | string | any) {\n super(UpgradeRequired.STATUS, message, origin);\n }\n}\n"]}
|