Socket
Socket
Sign inDemoInstall

@tsed/exceptions

Package Overview
Dependencies
Maintainers
0
Versions
828
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tsed/exceptions - npm Package Compare versions

Comparing version 7.82.2 to 7.82.3

4

lib/cjs/clientErrors/BadMapping.js

@@ -6,6 +6,6 @@ "use strict";

class BadMapping extends ClientException_js_1.ClientException {
static STATUS = 421;
name = "BAD_MAPPING";
static { this.STATUS = 421; }
constructor(message, origin) {
super(BadMapping.STATUS, message, origin);
this.name = "BAD_MAPPING";
}

@@ -12,0 +12,0 @@ }

@@ -6,3 +6,3 @@ "use strict";

class BadRequest extends ClientException_js_1.ClientException {
static STATUS = 400;
static { this.STATUS = 400; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(BadRequest.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class Conflict extends ClientException_js_1.ClientException {
static STATUS = 409;
static { this.STATUS = 409; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(Conflict.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class ExpectationFailed extends ClientException_js_1.ClientException {
static STATUS = 417;
static { this.STATUS = 417; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(ExpectationFailed.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class Forbidden extends ClientException_js_1.ClientException {
static STATUS = 403;
static { this.STATUS = 403; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(Forbidden.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class Gone extends ClientException_js_1.ClientException {
static STATUS = 410;
static { this.STATUS = 410; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(Gone.STATUS, message, origin);

@@ -6,6 +6,6 @@ "use strict";

class ImATeapot extends ClientException_js_1.ClientException {
static STATUS = 418;
name = "IM_A_TEAPOT";
static { this.STATUS = 418; }
constructor(message, origin) {
super(ImATeapot.STATUS, message, origin);
this.name = "IM_A_TEAPOT";
}

@@ -12,0 +12,0 @@ }

@@ -6,3 +6,3 @@ "use strict";

class LengthRequired extends ClientException_js_1.ClientException {
static STATUS = 411;
static { this.STATUS = 411; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(LengthRequired.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class MethodNotAllowed extends ClientException_js_1.ClientException {
static STATUS = 405;
static { this.STATUS = 405; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(MethodNotAllowed.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class MisdirectedRequest extends ClientException_js_1.ClientException {
static STATUS = 421;
static { this.STATUS = 421; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(MisdirectedRequest.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class NotAcceptable extends ClientException_js_1.ClientException {
static STATUS = 406;
static { this.STATUS = 406; }
constructor(message, origin = "You must accept content-type " + message) {

@@ -9,0 +9,0 @@ super(NotAcceptable.STATUS, origin);

@@ -6,3 +6,3 @@ "use strict";

class NotFound extends ClientException_js_1.ClientException {
static STATUS = 404;
static { this.STATUS = 404; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(NotFound.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class PaymentRequired extends ClientException_js_1.ClientException {
static STATUS = 402;
static { this.STATUS = 402; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(PaymentRequired.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class PreconditionFailed extends ClientException_js_1.ClientException {
static STATUS = 412;
static { this.STATUS = 412; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(PreconditionFailed.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class PreconditionRequired extends ClientException_js_1.ClientException {
static STATUS = 428;
static { this.STATUS = 428; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(PreconditionRequired.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class ProxyAuthentificationRequired extends ClientException_js_1.ClientException {
static STATUS = 407;
static { this.STATUS = 407; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(ProxyAuthentificationRequired.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class RequestEntityTooLarge extends ClientException_js_1.ClientException {
static STATUS = 413;
static { this.STATUS = 413; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(RequestEntityTooLarge.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class RequestHeaderFieldsTooLarge extends ClientException_js_1.ClientException {
static STATUS = 431;
static { this.STATUS = 431; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(RequestHeaderFieldsTooLarge.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class RequestRangeUnsatisfiable extends ClientException_js_1.ClientException {
static STATUS = 416;
static { this.STATUS = 416; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(RequestRangeUnsatisfiable.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class RequestTimeout extends ClientException_js_1.ClientException {
static STATUS = 408;
static { this.STATUS = 408; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(RequestTimeout.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class RequestURITooLong extends ClientException_js_1.ClientException {
static STATUS = 414;
static { this.STATUS = 414; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(RequestURITooLong.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class TooManyRequests extends ClientException_js_1.ClientException {
static STATUS = 429;
static { this.STATUS = 429; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(TooManyRequests.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class Unauthorized extends ClientException_js_1.ClientException {
static STATUS = 401;
static { this.STATUS = 401; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(Unauthorized.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class UnavailableForLegalReasons extends ClientException_js_1.ClientException {
static STATUS = 451;
static { this.STATUS = 451; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(UnavailableForLegalReasons.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class UnprocessableEntity extends ClientException_js_1.ClientException {
static STATUS = 422;
static { this.STATUS = 422; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(UnprocessableEntity.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class UnsupportedMediaType extends ClientException_js_1.ClientException {
static STATUS = 415;
static { this.STATUS = 415; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(UnsupportedMediaType.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class UpgradeRequired extends ClientException_js_1.ClientException {
static STATUS = 426;
static { this.STATUS = 426; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(UpgradeRequired.STATUS, message, origin);

@@ -9,33 +9,2 @@ "use strict";

class Exception extends Error {
/**
* Exception base name
* @type {string}
*/
name = "HTTP_EXCEPTION";
/**
* Message of the exception
*/
message;
/**
* Exception type
* @type {string}
*/
type = "HTTP_EXCEPTION";
/**
* Stack calling
*/
stack;
origin;
/**
* HTTP Code Status
*/
status;
/**
*
*/
body;
/**
* Headers must be sent to the response
*/
headers = {};
static validate(status, family) {

@@ -52,2 +21,16 @@ if (status < 100 || status >= 600) {

super(message);
/**
* Exception base name
* @type {string}
*/
this.name = "HTTP_EXCEPTION";
/**
* Exception type
* @type {string}
*/
this.type = "HTTP_EXCEPTION";
/**
* Headers must be sent to the response
*/
this.headers = {};
this.status = status;

@@ -54,0 +37,0 @@ this.message = message;

@@ -6,3 +6,3 @@ "use strict";

class MovedPermanently extends RedirectException_js_1.RedirectException {
static STATUS = 301;
static { this.STATUS = 301; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(MovedPermanently.STATUS, message, origin);

@@ -6,6 +6,6 @@ "use strict";

class MovedTemporarily extends RedirectException_js_1.RedirectException {
static STATUS = 302;
name = "MOVED_TEMPORARILY";
static { this.STATUS = 302; }
constructor(message, origin) {
super(MovedTemporarily.STATUS, message, origin);
this.name = "MOVED_TEMPORARILY";
}

@@ -12,0 +12,0 @@ }

@@ -6,3 +6,3 @@ "use strict";

class MultipleChoices extends RedirectException_js_1.RedirectException {
static STATUS = 300;
static { this.STATUS = 300; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(MultipleChoices.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class NotModified extends RedirectException_js_1.RedirectException {
static STATUS = 304;
static { this.STATUS = 304; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(NotModified.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class PermanentRedirect extends RedirectException_js_1.RedirectException {
static STATUS = 308;
static { this.STATUS = 308; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(PermanentRedirect.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class SeeOther extends RedirectException_js_1.RedirectException {
static STATUS = 303;
static { this.STATUS = 303; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(SeeOther.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class TemporaryRedirect extends RedirectException_js_1.RedirectException {
static STATUS = 307;
static { this.STATUS = 307; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(TemporaryRedirect.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class UseProxy extends RedirectException_js_1.RedirectException {
static STATUS = 305;
static { this.STATUS = 305; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(UseProxy.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class BadGateway extends ServerException_js_1.ServerException {
static STATUS = 502;
static { this.STATUS = 502; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(BadGateway.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class BandwidthLimitExceeded extends ServerException_js_1.ServerException {
static STATUS = 509;
static { this.STATUS = 509; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(BandwidthLimitExceeded.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class GatewayTimeout extends ServerException_js_1.ServerException {
static STATUS = 504;
static { this.STATUS = 504; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(GatewayTimeout.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class InternalServerError extends ServerException_js_1.ServerException {
static STATUS = 500;
static { this.STATUS = 500; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(InternalServerError.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class NetworkAuthenticationRequired extends ServerException_js_1.ServerException {
static STATUS = 511;
static { this.STATUS = 511; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(NetworkAuthenticationRequired.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class NotExtended extends ServerException_js_1.ServerException {
static STATUS = 510;
static { this.STATUS = 510; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(NotExtended.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class NotImplemented extends ServerException_js_1.ServerException {
static STATUS = 501;
static { this.STATUS = 501; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(NotImplemented.STATUS, message, origin);

@@ -6,6 +6,6 @@ "use strict";

class ProxyError extends ServerException_js_1.ServerException {
static STATUS = 502;
name = "PROXY_ERROR";
static { this.STATUS = 502; }
constructor(message, origin) {
super(ProxyError.STATUS, message, origin);
this.name = "PROXY_ERROR";
}

@@ -12,0 +12,0 @@ }

@@ -6,3 +6,3 @@ "use strict";

class ServiceUnavailable extends ServerException_js_1.ServerException {
static STATUS = 503;
static { this.STATUS = 503; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(ServiceUnavailable.STATUS, message, origin);

@@ -6,3 +6,3 @@ "use strict";

class VariantAlsoNegotiates extends ServerException_js_1.ServerException {
static STATUS = 506;
static { this.STATUS = 506; }
constructor(message, origin) {

@@ -9,0 +9,0 @@ super(VariantAlsoNegotiates.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class BadMapping extends ClientException {
static STATUS = 421;
name = "BAD_MAPPING";
static { this.STATUS = 421; }
constructor(message, origin) {
super(BadMapping.STATUS, message, origin);
this.name = "BAD_MAPPING";
}
}
//# sourceMappingURL=BadMapping.js.map
import { ClientException } from "../core/ClientException.js";
export class BadRequest extends ClientException {
static STATUS = 400;
static { this.STATUS = 400; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(BadRequest.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class Conflict extends ClientException {
static STATUS = 409;
static { this.STATUS = 409; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(Conflict.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class ExpectationFailed extends ClientException {
static STATUS = 417;
static { this.STATUS = 417; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(ExpectationFailed.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class Forbidden extends ClientException {
static STATUS = 403;
static { this.STATUS = 403; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(Forbidden.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class Gone extends ClientException {
static STATUS = 410;
static { this.STATUS = 410; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(Gone.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class ImATeapot extends ClientException {
static STATUS = 418;
name = "IM_A_TEAPOT";
static { this.STATUS = 418; }
constructor(message, origin) {
super(ImATeapot.STATUS, message, origin);
this.name = "IM_A_TEAPOT";
}
}
//# sourceMappingURL=ImATeapot.js.map
import { ClientException } from "../core/ClientException.js";
export class LengthRequired extends ClientException {
static STATUS = 411;
static { this.STATUS = 411; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(LengthRequired.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class MethodNotAllowed extends ClientException {
static STATUS = 405;
static { this.STATUS = 405; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(MethodNotAllowed.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class MisdirectedRequest extends ClientException {
static STATUS = 421;
static { this.STATUS = 421; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(MisdirectedRequest.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class NotAcceptable extends ClientException {
static STATUS = 406;
static { this.STATUS = 406; }
constructor(message, origin = "You must accept content-type " + message) {

@@ -5,0 +5,0 @@ super(NotAcceptable.STATUS, origin);

import { ClientException } from "../core/ClientException.js";
export class NotFound extends ClientException {
static STATUS = 404;
static { this.STATUS = 404; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(NotFound.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class PaymentRequired extends ClientException {
static STATUS = 402;
static { this.STATUS = 402; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(PaymentRequired.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class PreconditionFailed extends ClientException {
static STATUS = 412;
static { this.STATUS = 412; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(PreconditionFailed.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class PreconditionRequired extends ClientException {
static STATUS = 428;
static { this.STATUS = 428; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(PreconditionRequired.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class ProxyAuthentificationRequired extends ClientException {
static STATUS = 407;
static { this.STATUS = 407; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(ProxyAuthentificationRequired.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class RequestEntityTooLarge extends ClientException {
static STATUS = 413;
static { this.STATUS = 413; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(RequestEntityTooLarge.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class RequestHeaderFieldsTooLarge extends ClientException {
static STATUS = 431;
static { this.STATUS = 431; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(RequestHeaderFieldsTooLarge.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class RequestRangeUnsatisfiable extends ClientException {
static STATUS = 416;
static { this.STATUS = 416; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(RequestRangeUnsatisfiable.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class RequestTimeout extends ClientException {
static STATUS = 408;
static { this.STATUS = 408; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(RequestTimeout.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class RequestURITooLong extends ClientException {
static STATUS = 414;
static { this.STATUS = 414; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(RequestURITooLong.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class TooManyRequests extends ClientException {
static STATUS = 429;
static { this.STATUS = 429; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(TooManyRequests.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class Unauthorized extends ClientException {
static STATUS = 401;
static { this.STATUS = 401; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(Unauthorized.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class UnavailableForLegalReasons extends ClientException {
static STATUS = 451;
static { this.STATUS = 451; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(UnavailableForLegalReasons.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class UnprocessableEntity extends ClientException {
static STATUS = 422;
static { this.STATUS = 422; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(UnprocessableEntity.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class UnsupportedMediaType extends ClientException {
static STATUS = 415;
static { this.STATUS = 415; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(UnsupportedMediaType.STATUS, message, origin);

import { ClientException } from "../core/ClientException.js";
export class UpgradeRequired extends ClientException {
static STATUS = 426;
static { this.STATUS = 426; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(UpgradeRequired.STATUS, message, origin);

@@ -5,33 +5,2 @@ import { classOf, nameOf } from "@tsed/core";

export class Exception extends Error {
/**
* Exception base name
* @type {string}
*/
name = "HTTP_EXCEPTION";
/**
* Message of the exception
*/
message;
/**
* Exception type
* @type {string}
*/
type = "HTTP_EXCEPTION";
/**
* Stack calling
*/
stack;
origin;
/**
* HTTP Code Status
*/
status;
/**
*
*/
body;
/**
* Headers must be sent to the response
*/
headers = {};
static validate(status, family) {

@@ -48,2 +17,16 @@ if (status < 100 || status >= 600) {

super(message);
/**
* Exception base name
* @type {string}
*/
this.name = "HTTP_EXCEPTION";
/**
* Exception type
* @type {string}
*/
this.type = "HTTP_EXCEPTION";
/**
* Headers must be sent to the response
*/
this.headers = {};
this.status = status;

@@ -50,0 +33,0 @@ this.message = message;

import { RedirectException } from "../core/RedirectException.js";
export class MovedPermanently extends RedirectException {
static STATUS = 301;
static { this.STATUS = 301; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(MovedPermanently.STATUS, message, origin);

import { RedirectException } from "../core/RedirectException.js";
export class MovedTemporarily extends RedirectException {
static STATUS = 302;
name = "MOVED_TEMPORARILY";
static { this.STATUS = 302; }
constructor(message, origin) {
super(MovedTemporarily.STATUS, message, origin);
this.name = "MOVED_TEMPORARILY";
}
}
//# sourceMappingURL=MovedTemporarily.js.map
import { RedirectException } from "../core/RedirectException.js";
export class MultipleChoices extends RedirectException {
static STATUS = 300;
static { this.STATUS = 300; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(MultipleChoices.STATUS, message, origin);

import { RedirectException } from "../core/RedirectException.js";
export class NotModified extends RedirectException {
static STATUS = 304;
static { this.STATUS = 304; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(NotModified.STATUS, message, origin);

import { RedirectException } from "../core/RedirectException.js";
export class PermanentRedirect extends RedirectException {
static STATUS = 308;
static { this.STATUS = 308; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(PermanentRedirect.STATUS, message, origin);

import { RedirectException } from "../core/RedirectException.js";
export class SeeOther extends RedirectException {
static STATUS = 303;
static { this.STATUS = 303; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(SeeOther.STATUS, message, origin);

import { RedirectException } from "../core/RedirectException.js";
export class TemporaryRedirect extends RedirectException {
static STATUS = 307;
static { this.STATUS = 307; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(TemporaryRedirect.STATUS, message, origin);

import { RedirectException } from "../core/RedirectException.js";
export class UseProxy extends RedirectException {
static STATUS = 305;
static { this.STATUS = 305; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(UseProxy.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class BadGateway extends ServerException {
static STATUS = 502;
static { this.STATUS = 502; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(BadGateway.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class BandwidthLimitExceeded extends ServerException {
static STATUS = 509;
static { this.STATUS = 509; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(BandwidthLimitExceeded.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class GatewayTimeout extends ServerException {
static STATUS = 504;
static { this.STATUS = 504; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(GatewayTimeout.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class InternalServerError extends ServerException {
static STATUS = 500;
static { this.STATUS = 500; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(InternalServerError.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class NetworkAuthenticationRequired extends ServerException {
static STATUS = 511;
static { this.STATUS = 511; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(NetworkAuthenticationRequired.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class NotExtended extends ServerException {
static STATUS = 510;
static { this.STATUS = 510; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(NotExtended.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class NotImplemented extends ServerException {
static STATUS = 501;
static { this.STATUS = 501; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(NotImplemented.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class ProxyError extends ServerException {
static STATUS = 502;
name = "PROXY_ERROR";
static { this.STATUS = 502; }
constructor(message, origin) {
super(ProxyError.STATUS, message, origin);
this.name = "PROXY_ERROR";
}
}
//# sourceMappingURL=ProxyError.js.map
import { ServerException } from "../core/ServerException.js";
export class ServiceUnavailable extends ServerException {
static STATUS = 503;
static { this.STATUS = 503; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(ServiceUnavailable.STATUS, message, origin);

import { ServerException } from "../core/ServerException.js";
export class VariantAlsoNegotiates extends ServerException {
static STATUS = 506;
static { this.STATUS = 506; }
constructor(message, origin) {

@@ -5,0 +5,0 @@ super(VariantAlsoNegotiates.STATUS, message, origin);

@@ -5,3 +5,3 @@ {

"type": "commonjs",
"version": "7.82.2",
"version": "7.82.3",
"source": "./src/index.ts",

@@ -32,4 +32,4 @@ "main": "./lib/cjs/index.js",

"devDependencies": {
"@tsed/barrels": "7.82.2",
"@tsed/typescript": "7.82.2",
"@tsed/barrels": "7.82.3",
"@tsed/typescript": "7.82.3",
"@types/statuses": "2.0.5",

@@ -41,3 +41,3 @@ "eslint": "^8.57.0",

"peerDependencies": {
"@tsed/core": "7.82.2"
"@tsed/core": "7.82.3"
},

@@ -44,0 +44,0 @@ "repository": "https://github.com/tsedio/tsed",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc