Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseExceptionFilterContext

Hierarchy

Index

Constructors

constructor

Properties

Private Readonly container

container: NestContainer

Protected moduleContext

moduleContext: string

Methods

createConcreteContext

  • createConcreteContext<T, R>(metadata: T, contextId?: ContextId, inquirerId?: string): R

createContext

  • createContext<T, R>(instance: Controller, callback: (...args: any[]) => void, metadataKey: string, contextId?: ContextId, inquirerId?: string): R

getFilterInstance

  • getFilterInstance(filter: Function | ExceptionFilter, contextId?: ContextId, inquirerId?: string): ExceptionFilter | null

Optional getGlobalMetadata

  • getGlobalMetadata<T>(contextId?: ContextId, inquirerId?: string): T

getInstanceByMetatype

reflectCatchExceptions

  • reflectCatchExceptions(instance: ExceptionFilter): Type<any>[]

reflectClassMetadata

  • reflectClassMetadata<T>(instance: Controller, metadataKey: string): T

reflectMethodMetadata

  • reflectMethodMetadata<T>(callback: (...args: unknown[]) => unknown, metadataKey: string): T

Generated using TypeDoc