Options
All
  • Public
  • Public/Protected
  • All
Menu

Class BaseExceptionFilter<T>

Type parameters

  • T = any

Hierarchy

  • BaseExceptionFilter

Implements

  • ExceptionFilter<T>

Index

Constructors

constructor

  • Parameters

    • applicationRef: any

    Returns BaseExceptionFilter

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: any, host: any): void
  • Parameters

    • exception: any
    • host: any

    Returns void

handleUnknownError

  • handleUnknownError(exception: any, host: any, applicationRef: any): void
  • Parameters

    • exception: any
    • host: any
    • applicationRef: any

    Returns void

isExceptionObject

  • isExceptionObject(err: any): boolean
  • Parameters

    • err: any

    Returns boolean

Generated using TypeDoc