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

x/danet/src/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@1.3.1/src/mod.ts";

Constructors

new
FilterExecutor(injector: Injector)

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>