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

x/deno_nest/modules/uinv/src/exceptions.ts>ExceptionOptions

Refer to nestjs to realize some common functions for Deno, support hono and oak
Go to Latest
type alias ExceptionOptions
import { type ExceptionOptions } from "https://deno.land/x/deno_nest@v3.3.1/modules/uinv/src/exceptions.ts";
definition: { logger?: Logger; isDisableFormat404?: boolean; isLogCompleteError?: boolean; filter?: (context: Context) => boolean; get404Body?: (context: Context) => string | Promise<string>; messageOf404?: string; getErrorBody?: (err: unknown, context: Context) => string | Promise<string>; defaultErrorStatus?: number; ignoreResponseLog?: (context: Context) => boolean; isIgnoreLog401?: boolean; }