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

x/deno_nest/mod.ts>BadGatewayException

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
class BadGatewayException
extends HttpException
import { BadGatewayException } from "https://deno.land/x/deno_nest@v3.7.0/mod.ts";

Instantiate a BadGatewayException Exception.

Examples

throw new BadGatewayException()

Constructors

new
BadGatewayException(
objectOrError: any,
description?,
cause?: unknown,
)