diff --git a/docs/README.md b/docs/README.md index 62b23ef..974da37 100644 --- a/docs/README.md +++ b/docs/README.md @@ -2,38 +2,3 @@ > HTTP Exceptions for REST API based on Express.js -See [guide installation](getting-started.md) and our [API](api/index.md) - -## Example - -```typescript - import {BadRequest, Exception} from 'ts-httpexceptions'; - let express = require('express'); - let app = express(); - - app.get('/my/route', (req, res) => { - - throw new BadRequest('Custom Message'); //Emit - // OR - // throw new Exception(510, 'Custom Message'); - - }); - - app.get('/my/route/params', (req, res) => { - - if (req.params.id === undefined){ - throw new BadRequest(); - } - - }); - - - //GlobalHandler middleware catch exception and send response to the client - app.use((err, request, response) => { - - if(err instanceof Exception){ - response.status(err.status).send(err.message); - } - - }); -``` diff --git a/docs/_coverpage.md b/docs/_coverpage.md index 7cc1131..e187c18 100644 --- a/docs/_coverpage.md +++ b/docs/_coverpage.md @@ -8,6 +8,6 @@ - Extensible - ES6/Typescript -[GitHub](https://github.com/TypeProject/ts-httpexceptions/) -[Get Started](#tshttpexceptions) +[GitHub](https://github.com/TypedProject/tsed/) +[Get Started](https://tsed.io/docs/exceptions.html) diff --git a/docs/_navbar.md b/docs/_navbar.md index 4fb232d..139597f 100644 --- a/docs/_navbar.md +++ b/docs/_navbar.md @@ -1,4 +1,2 @@ --
[Getting started](getting-started.md) -- [API references](api/index.md) diff --git a/docs/_sidebar.md b/docs/_sidebar.md index a6ecb14..e69de29 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -1,4 +0,0 @@ -* [ Getting started](getting-started.md) -* [ API references](api/index.md) -* [ Contributing](contributing.md) -* [ License](license.md) \ No newline at end of file diff --git a/docs/api/common/badgateway.md b/docs/api/common/badgateway.md deleted file mode 100644 index 4881ec8..0000000 --- a/docs/api/common/badgateway.md +++ /dev/null @@ -1,16 +0,0 @@ -Module | import { BadGateway } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/BadGateway.ts |
class BadGateway extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { BadMapping } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/BadMapping.ts |
class BadMapping extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { BadRequest } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/BadRequest.ts |
class BadRequest extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { BandwidthLimitExceeded } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/BandwidthLimitExceeded.ts |
class BandwidthLimitExceeded extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { BadMapping } from "ts-httpexceptions" |
---|---|
Source | clientErrors/BadMapping.ts |
class BadMapping extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { BadRequest } from "ts-httpexceptions" |
---|---|
Source | clientErrors/BadRequest.ts |
class BadRequest extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { Conflict } from "ts-httpexceptions" |
---|---|
Source | clientErrors/Conflict.ts |
class Conflict extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { ExpectationFailed } from "ts-httpexceptions" |
---|---|
Source | clientErrors/ExpectationFailed.ts |
class ExpectationFailed extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { Forbidden } from "ts-httpexceptions" |
---|---|
Source | clientErrors/Forbidden.ts |
class Forbidden extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { Gone } from "ts-httpexceptions" |
---|---|
Source | clientErrors/Gone.ts |
class Gone extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { ImATeapot } from "ts-httpexceptions" |
---|---|
Source | clientErrors/ImATeapot.ts |
class ImATeapot extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { LengthRequired } from "ts-httpexceptions" |
---|---|
Source | clientErrors/LengthRequired.ts |
class LengthRequired extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { MethodNotAllowed } from "ts-httpexceptions" |
---|---|
Source | clientErrors/MethodNotAllowed.ts |
class MethodNotAllowed extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { MisdirectedRequest } from "ts-httpexceptions" |
---|---|
Source | clientErrors/MisdirectedRequest.ts |
class MisdirectedRequest extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { NotAcceptable } from "ts-httpexceptions" |
---|---|
Source | clientErrors/NotAcceptable.ts |
class NotAcceptable extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { NotFound } from "ts-httpexceptions" |
---|---|
Source | clientErrors/NotFound.ts |
class NotFound extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { PaymentRequired } from "ts-httpexceptions" |
---|---|
Source | clientErrors/PaymentRequired.ts |
class PaymentRequired extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { PreconditionFailed } from "ts-httpexceptions" |
---|---|
Source | clientErrors/PreconditionFailed.ts |
class PreconditionFailed extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { PreconditionRequired } from "ts-httpexceptions" |
---|---|
Source | clientErrors/PreconditionRequired.ts |
class PreconditionRequired extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { ProxyAuthentificationRequired } from "ts-httpexceptions" |
---|---|
Source | clientErrors/ProxyAuthentificationRequired.ts |
class ProxyAuthentificationRequired extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { RequestedRangeUnsatisfiable } from "ts-httpexceptions" |
---|---|
Source | clientErrors/RequestedRangeUnsatisfiable.ts |
class RequestedRangeUnsatisfiable extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { RequestEntityTooLarge } from "ts-httpexceptions" |
---|---|
Source | clientErrors/RequestEntityTooLarge.ts |
class RequestEntityTooLarge extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { RequestHeaderFieldsTooLarge } from "ts-httpexceptions" |
---|---|
Source | clientErrors/RequestHeaderFieldsTooLarge.ts |
class RequestHeaderFieldsTooLarge extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { RequestTimeout } from "ts-httpexceptions" |
---|---|
Source | clientErrors/RequestTimeout.ts |
class RequestTimeout extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { RequestURITooLong } from "ts-httpexceptions" |
---|---|
Source | clientErrors/RequestURITooLong.ts |
class RequestURITooLong extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { TooManyRequests } from "ts-httpexceptions" |
---|---|
Source | clientErrors/TooManyRequests.ts |
class TooManyRequests extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { Unauthorized } from "ts-httpexceptions" |
---|---|
Source | clientErrors/Unauthorized.ts |
class Unauthorized extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { UnavailabledForLegalReasons } from "ts-httpexceptions" |
---|---|
Source | clientErrors/UnavailabledForLegalReasons.ts |
class UnavailabledForLegalReasons extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { UnprocessableEntity } from "ts-httpexceptions" |
---|---|
Source | clientErrors/UnprocessableEntity.ts |
class UnprocessableEntity extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { UnsupportedMediaType } from "ts-httpexceptions" |
---|---|
Source | clientErrors/UnsupportedMediaType.ts |
class UnsupportedMediaType extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { UpgradeRequired } from "ts-httpexceptions" |
---|---|
Source | clientErrors/UpgradeRequired.ts |
class UpgradeRequired extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { Conflict } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/Conflict.ts |
class Conflict extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { Exception } from "ts-httpexceptions" |
---|---|
Source | core/Exception.ts |
class Exception extends Error {
- name: string;
- message: string;
- type: string;
- stack: string;
- origin: Error;
- status: number;
- body: any;
- [key: string]: any;
- constructor(status?: number, message?: string, origin?: Error | string | any);
- setOrigin(origin: Error | string | any): void;
- toString(): string;
-}
-
-### Members
-
-name: string
message: string
type: string
stack: string
origin: Error
status: number
body: any
[key: string]: any
setOrigin(origin: Error | string | any): void
toString(): string
Module | import { HTTPException } from "ts-httpexceptions" |
---|---|
Source | core/Exception.ts |
class HTTPException extends Exception {
-}
diff --git a/docs/api/common/expectationfailed.md b/docs/api/common/expectationfailed.md
deleted file mode 100644
index 3b538c3..0000000
--- a/docs/api/common/expectationfailed.md
+++ /dev/null
@@ -1,16 +0,0 @@
-Module | import { ExpectationFailed } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/ExpectationFailed.ts |
class ExpectationFailed extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { Forbidden } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/Forbidden.ts |
class Forbidden extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { GatewayTimeout } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/GatewayTimeout.ts |
class GatewayTimeout extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { Gone } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/Gone.ts |
class Gone extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { ImATeapot } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/ImATeapot.ts |
class ImATeapot extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { InternalServerError } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/InternalServerError.ts |
class InternalServerError extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { LengthRequired } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/LengthRequired.ts |
class LengthRequired extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { MethodNotAllowed } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/MethodNotAllowed.ts |
class MethodNotAllowed extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { MisdirectedRequest } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/MisdirectedRequest.ts |
class MisdirectedRequest extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { MovedPermanently } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/MovedPermanently.ts |
class MovedPermanently extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { MovedTemporarily } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/MovedTemporarily.ts |
class MovedTemporarily extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { MultipleChoices } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/MultipleChoices.ts |
class MultipleChoices extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { NetworkAuthenticationRequired } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/NetworkAuthenticationRequired.ts |
class NetworkAuthenticationRequired extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { NotAcceptable } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/NotAcceptable.ts |
class NotAcceptable extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { NotExtended } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/NotExtended.ts |
class NotExtended extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { NotFound } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/NotFound.ts |
class NotFound extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { NotImplemented } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/NotImplemented.ts |
class NotImplemented extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { NotModified } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/NotModified.ts |
class NotModified extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { PaymentRequired } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/PaymentRequired.ts |
class PaymentRequired extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { PermanentRedirect } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/PermanentRedirect.ts |
class PermanentRedirect extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { PreconditionFailed } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/PreconditionFailed.ts |
class PreconditionFailed extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { PreconditionRequired } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/PreconditionRequired.ts |
class PreconditionRequired extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { ProxyAuthentificationRequired } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/ProxyAuthentificationRequired.ts |
class ProxyAuthentificationRequired extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { ProxyError } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/ProxyError.ts |
class ProxyError extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { MovedPermanently } from "ts-httpexceptions" |
---|---|
Source | redirections/MovedPermanently.ts |
class MovedPermanently extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { MovedTemporarily } from "ts-httpexceptions" |
---|---|
Source | redirections/MovedTemporarily.ts |
class MovedTemporarily extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { MultipleChoices } from "ts-httpexceptions" |
---|---|
Source | redirections/MultipleChoices.ts |
class MultipleChoices extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { NotModified } from "ts-httpexceptions" |
---|---|
Source | redirections/NotModified.ts |
class NotModified extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { PermanentRedirect } from "ts-httpexceptions" |
---|---|
Source | redirections/PermanentRedirect.ts |
class PermanentRedirect extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { SeeOther } from "ts-httpexceptions" |
---|---|
Source | redirections/SeeOther.ts |
class SeeOther extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { TemporaryRedirect } from "ts-httpexceptions" |
---|---|
Source | redirections/TemporaryRedirect.ts |
class TemporaryRedirect extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { TooManyRedirects } from "ts-httpexceptions" |
---|---|
Source | redirections/TooManyRedirects.ts |
class TooManyRedirects extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { UseProxy } from "ts-httpexceptions" |
---|---|
Source | redirections/UseProxy.ts |
class UseProxy extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { RequestedRangeUnsatisfiable } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/RequestedRangeUnsatisfiable.ts |
class RequestedRangeUnsatisfiable extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { RequestEntityTooLarge } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/RequestEntityTooLarge.ts |
class RequestEntityTooLarge extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { RequestHeaderFieldsTooLarge } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/RequestHeaderFieldsTooLarge.ts |
class RequestHeaderFieldsTooLarge extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { RequestTimeout } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/RequestTimeout.ts |
class RequestTimeout extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { RequestURITooLong } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/RequestURITooLong.ts |
class RequestURITooLong extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { SeeOther } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/SeeOther.ts |
class SeeOther extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { BadGateway } from "ts-httpexceptions" |
---|---|
Source | serverErrors/BadGateway.ts |
class BadGateway extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { BandwidthLimitExceeded } from "ts-httpexceptions" |
---|---|
Source | serverErrors/BandwidthLimitExceeded.ts |
class BandwidthLimitExceeded extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { GatewayTimeout } from "ts-httpexceptions" |
---|---|
Source | serverErrors/GatewayTimeout.ts |
class GatewayTimeout extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { InternalServerError } from "ts-httpexceptions" |
---|---|
Source | serverErrors/InternalServerError.ts |
class InternalServerError extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { NetworkAuthenticationRequired } from "ts-httpexceptions" |
---|---|
Source | serverErrors/NetworkAuthenticationRequired.ts |
class NetworkAuthenticationRequired extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { NotExtended } from "ts-httpexceptions" |
---|---|
Source | serverErrors/NotExtended.ts |
class NotExtended extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { NotImplemented } from "ts-httpexceptions" |
---|---|
Source | serverErrors/NotImplemented.ts |
class NotImplemented extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { ProxyError } from "ts-httpexceptions" |
---|---|
Source | serverErrors/ProxyError.ts |
class ProxyError extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { ServiceUnvailable } from "ts-httpexceptions" |
---|---|
Source | serverErrors/ServiceUnvailable.ts |
class ServiceUnvailable extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { VariantAlsoNegotiates } from "ts-httpexceptions" |
---|---|
Source | serverErrors/VariantAlsoNegotiates.ts |
class VariantAlsoNegotiates extends Exception {
- name: string;
- constructor(message: string);
-}
-
-### Members
-
-name: string
Module | import { ServiceUnvailable } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/ServiceUnvailable.ts |
class ServiceUnvailable extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { TemporaryRedirect } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/TemporaryRedirect.ts |
class TemporaryRedirect extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { TooManyRedirects } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/TooManyRedirects.ts |
class TooManyRedirects extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { TooManyRequests } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/TooManyRequests.ts |
class TooManyRequests extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { Unauthorized } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/Unauthorized.ts |
class Unauthorized extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { UnavailabledForLegalReasons } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/UnavailabledForLegalReasons.ts |
class UnavailabledForLegalReasons extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { UnprocessableEntity } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/UnprocessableEntity.ts |
class UnprocessableEntity extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { UnsupportedMediaType } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/UnsupportedMediaType.ts |
class UnsupportedMediaType extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { UpgradeRequired } from "ts-httpexceptions/clientErrors" |
---|---|
Source | clientErrors/UpgradeRequired.ts |
class UpgradeRequired extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { UseProxy } from "ts-httpexceptions/redirections" |
---|---|
Source | redirections/UseProxy.ts |
class UseProxy extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string
Module | import { VariantAlsoNegotiates } from "ts-httpexceptions/serverErrors" |
---|---|
Source | serverErrors/VariantAlsoNegotiates.ts |
class VariantAlsoNegotiates extends Exception {
- static readonly STATUS: number;
- name: string;
- constructor(message: string, origin?: Error | string | any);
-}
-
-### Members
-
-static readonly STATUS: number
name: string