Amazon Developer

as

Settings
Sign out
Notifications
Alexa
Amazon Appstore
Ring
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

Constructors

new IllegalStateError()

new IllegalStateError(message): IllegalStateError

Constructor function called for initialization of a BaseError.

Parameters

message

any

Returns

IllegalStateError

Inherited from

BaseError.constructor

Properties

message

message: string

Inherited from

BaseError.message


name

name: string

Inherited from

BaseError.name


stack?

optional stack: string

Inherited from

BaseError.stack


Last updated: Sep 30, 2025