Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseExceptionFilter<T>

Type parameters

  • T = any

Hierarchy

Implements

  • ExceptionFilter<T>

Index

Constructors

constructor

Properties

Protected Optional Readonly applicationRef

applicationRef: HttpServer

Protected Optional Readonly httpAdapterHost

httpAdapterHost: HttpAdapterHost

Static Private Readonly logger

logger: Logger = new Logger('ExceptionsHandler')

Methods

catch

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

handleUnknownError

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

isExceptionObject

  • isExceptionObject(err: any): err is Error

Generated using TypeDoc