Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/deno_nest/src/exceptions.ts

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
import * as denoNest from "https://deno.land/x/deno_nest@v3.3.1/src/exceptions.ts";

Classes

Instantiate a BadGatewayException Exception.

Instantiate a BadRequestException Exception.

Instantiate a BodyParamValidationException Exception.

Instantiate a ConflictException Exception.

Instantiate a ForbiddenException Exception.

Instantiate a GatewayTimeoutException Exception.

Instantiate a GoneException Exception.

Instantiate a HttpVersionNotSupportedException Exception.

Instantiate an ImATeapotException Exception.

Instantiate an InternalServerErrorException Exception.

Instantiate a MethodNotAllowedException Exception.

Instantiate a NotAcceptableException Exception.

Instantiate a NotFoundException Exception.

Instantiate a NotImplementedException Exception.

Instantiate a PayloadTooLargeException Exception.

Instantiate a PreconditionFailedException Exception.

Instantiate a RequestTimeoutException Exception.

Instantiate a ServiceUnavailableException Exception.

Instantiate an UnauthorizedException Exception.

Instantiate an UnprocessableEntityException Exception.

Instantiate an UnsupportedMediaTypeException Exception.