UNPKG

@nestjs/core

Version:

The core of NestJS, a TypeScript framework for Node.js backends: modules, dependency injection and the request pipeline, on Express, Fastify or node:http.

10 lines (9 loc) • 525 B
import { ExternalExceptionFilter } from './external-exception-filter.js'; import { type ExceptionFilterMetadata } from '@nestjs/common/internal'; import type { ArgumentsHost } from '@nestjs/common'; export declare class ExternalExceptionsHandler extends ExternalExceptionFilter { private filters; next(exception: Error, host: ArgumentsHost): Promise<any>; setCustomFilters(filters: ExceptionFilterMetadata[]): void; invokeCustomFilters<T = any>(exception: T, host: ArgumentsHost): Promise<any> | undefined; }