Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/oak_nest/src/exceptions.ts

Refer to nestjs to realize some common functions for Deno, support hono and oak
Latest
import * as oakNest from "https://deno.land/x/oak_nest@v3.0.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.