Search
Preparing search index...
The search index is not available
ASK SDK for Node.js
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
GenericErrorMapper
Class GenericErrorMapper<Input, Output>
Generic implementation of @{link ErrorMapper}
Type parameters
Input
Output
Hierarchy
GenericErrorMapper
Implements
ErrorMapper
<
Input
,
Output
>
Index
Constructors
constructor
Properties
error
Handlers
Methods
get
Error
Handler
Constructors
constructor
new
Generic
Error
Mapper
(
options
:
object
)
:
GenericErrorMapper
Parameters
options:
object
error
Handlers
:
Array
<
ErrorHandler
<
Input
,
Output
>
>
Returns
GenericErrorMapper
Properties
Protected
error
Handlers
error
Handlers
:
Array
<
ErrorHandler
<
Input
,
Output
>
>
Methods
get
Error
Handler
get
Error
Handler
(
handlerInput
:
Input
, error
:
Error
)
:
Promise
<
ErrorHandler
<
Input
,
Output
>
>
Parameters
handlerInput:
Input
error:
Error
Returns
Promise
<
ErrorHandler
<
Input
,
Output
>
>
Globals
Generic
Error
Mapper
constructor
error
Handlers
get
Error
Handler
Generic implementation of @{link ErrorMapper}