Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ExceptionsHandler

Hierarchy

Implements

  • ExceptionFilter<any>

Index

Constructors

constructor

Properties

Protected Optional Readonly applicationRef

applicationRef: HttpServer

Private filters

filters: ExceptionFilterMetadata[] = []

Protected Optional Readonly httpAdapterHost

httpAdapterHost: HttpAdapterHost

Methods

catch

  • catch(exception: any, host: ArgumentsHost): void

handleUnknownError

  • handleUnknownError(exception: any, host: ArgumentsHost, applicationRef: AbstractHttpAdapter | HttpServer): void

invokeCustomFilters

  • invokeCustomFilters<T>(exception: T, ctx: ArgumentsHost): boolean

isExceptionObject

  • isExceptionObject(err: any): err is Error

next

  • next(exception: Error | HttpException | any, ctx: ArgumentsHost): void

setCustomFilters

  • setCustomFilters(filters: ExceptionFilterMetadata[]): void

Generated using TypeDoc