Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WsExceptionsHandler

Hierarchy

Implements

  • WsExceptionFilter<any>

Index

Properties

Private filters

filters: ExceptionFilterMetadata[] = []

Methods

catch

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

handle

handleError

  • handleError<TClient>(client: TClient, exception: any): void

handleUnknownError

  • handleUnknownError<TClient>(exception: any, client: TClient): void

invokeCustomFilters

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

isExceptionObject

  • isExceptionObject(err: any): err is Error

setCustomFilters

  • setCustomFilters(filters: ExceptionFilterMetadata[]): void

Generated using TypeDoc