Options
All
  • Public
  • Public/Protected
  • All
Menu

Class RpcExceptionsHandler

Hierarchy

Implements

  • RpcExceptionFilter<any>

Index

Properties

Private filters

filters: RpcExceptionFilterMetadata[] = []

Methods

catch

  • catch(exception: any, host: ArgumentsHost): Observable<any>

handle

  • handle(exception: Error | RpcException | any, host: ArgumentsHost): Observable<any>

handleUnknownError

  • handleUnknownError(exception: any, status: string): Observable<never>

invokeCustomFilters

  • invokeCustomFilters<T>(exception: T, host: ArgumentsHost): Observable<any> | null

isError

  • isError(exception: any): exception is Error

setCustomFilters

  • setCustomFilters(filters: RpcExceptionFilterMetadata[]): void

Generated using TypeDoc