as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
AWS
Documentation
Support
Contact Us
My Cases
Get Started
Design and Develop
Publish
Reference
Support

InvalidStateError

Error occurs when a request cannot be processed due to being in the wrong state to process it.

Extends

  • Error

Constructors

new InvalidStateError()

new InvalidStateError(message): InvalidStateError

Parameters

message

string

Returns

InvalidStateError

Overrides

Error.constructor

Properties

message

message: string

Inherited from

Error.message


name

name: string

Inherited from

Error.name


stack?

optional stack: string

Inherited from

Error.stack


Last updated: Sep 30, 2025