as

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

IllegalStateError

Exception thrown when functions of a builder are called after it has already been used to build an object.

Extends

  • Error

Constructors

new IllegalStateError()

new IllegalStateError(message?): IllegalStateError

Parameters

message?

string

Returns

IllegalStateError

Inherited from

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