Error class, can be used to reject promise from an intent handler.

Index

Constructors

constructor

  • new HandlerError(requestId: string, errorCode: string, debugString?: undefined | string): HandlerError
  • Parameters

    • requestId: string

      Request ID from the associated EXECUTE intent.

    • errorCode: string

      The cause for this error

    • Optional debugString: undefined | string

      Human readable description of this error

    Returns HandlerError

Properties

Optional debugString

debugString: undefined | string

Human readable description of this error

errorCode

errorCode: string

The cause for this error

message

message: string

name

name: string

requestId

requestId: string

Request ID from the associated EXECUTE intent.

Optional stack

stack: undefined | string

Static Error

Error: ErrorConstructor