@nestjs/microservices
Version:
Nest - modern, fast, powerful node.js web framework (@microservices)
15 lines (14 loc) • 815 B
TypeScript
import { Observable } from 'rxjs';
import { RpcExceptionsHandler } from '../exceptions/rpc-exceptions-handler.js';
import { type Controller } from '@nestjs/common/internal';
import type { ApplicationConfig, NestContainer } from '@nestjs/core';
import { BaseExceptionFilterContext } from '@nestjs/core/internal';
/**
* @publicApi
*/
export declare class ExceptionFiltersContext extends BaseExceptionFilterContext {
private readonly config;
constructor(container: NestContainer, config: ApplicationConfig);
create(instance: Controller, callback: <T = any>(data: T) => Observable<any>, module: string, contextId?: import("@nestjs/core").ContextId, inquirerId?: string): RpcExceptionsHandler;
getGlobalMetadata<T extends any[]>(contextId?: import("@nestjs/core").ContextId, inquirerId?: string): T;
}