UNPKG

1.02 kBTypeScriptView Raw
1import { HttpServer } from '@nestjs/common';
2import { Controller } from '@nestjs/common/interfaces/controllers/controller.interface';
3import { ApplicationConfig } from '../application-config';
4import { BaseExceptionFilterContext } from '../exceptions/base-exception-filter-context';
5import { ExceptionsHandler } from '../exceptions/exceptions-handler';
6import { NestContainer } from '../injector/container';
7import { RouterProxyCallback } from './router-proxy';
8export declare class RouterExceptionFilters extends BaseExceptionFilterContext {
9 private readonly config;
10 private readonly applicationRef;
11 constructor(container: NestContainer, config: ApplicationConfig, applicationRef: HttpServer);
12 create(instance: Controller, callback: RouterProxyCallback, moduleKey: string, contextId?: import("../injector/instance-wrapper").ContextId, inquirerId?: string): ExceptionsHandler;
13 getGlobalMetadata<T extends unknown[]>(contextId?: import("../injector/instance-wrapper").ContextId, inquirerId?: string): T;
14}