UNPKG

@tsclean/core

Version:

Plugin for API Rest Full development, based on Clean Architecture, IoC and Dependency Injection.

10 lines 589 B
import { HttpException } from "../../exceptions"; import { BaseExceptionFilter } from './base-exception-filter'; import { ArgumentsHostInterface, ExceptionFilterMetadataInterface } from "../../contracts"; export declare class ExceptionsHandler extends BaseExceptionFilter { private filters; next(exception: Error | HttpException | any, ctx: ArgumentsHostInterface): void; setCustomFilters(filters: ExceptionFilterMetadataInterface[]): void; invokeCustomFilters<T = any>(exception: T, ctx: ArgumentsHostInterface): boolean; } //# sourceMappingURL=exceptions-handler.d.ts.map