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

x/danet/mod.ts>FilterExecutor

A Savory web framework for Deno heavily inspired by Nest
Go to Latest
class FilterExecutor
Re-export
import { FilterExecutor } from "https://deno.land/x/danet@v1.0.0/mod.ts";

Methods

private
executeFilter(
exceptionFilter: ExceptionFilter,
context: HttpContext,
error: unknown,
): Promise<boolean>
private
executeFilterFromMetadata(
context: HttpContext,
error: unknown,
constructor: Constructor | Function,
): Promise<boolean>
private
getErrorTypeCaughtByExceptionFilter(exceptionConstructor: Constructor)
executeControllerAndMethodFilter(
context: HttpContext,
error: unknown,
ControllerMethod: Callback,
): Promise<boolean>