Options
All
  • Public
  • Public/Protected
  • All
Menu

Class GenericErrorMapper<Input, Output>

Generic implementation of @{link ErrorMapper}

Type parameters

  • Input

  • Output

Hierarchy

  • GenericErrorMapper

Implements

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

Protected errorHandlers

errorHandlers: Array<ErrorHandler<Input, Output>>

Methods

getErrorHandler

  • getErrorHandler(handlerInput: Input, error: Error): Promise<ErrorHandler<Input, Output>>