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

InvalidArgumentError

Exception thrown when there is a failure in creating a new object.

Extends

  • Error

Constructors

new InvalidArgumentError()

new InvalidArgumentError(message?): InvalidArgumentError

Parameters

message?

string

Returns

InvalidArgumentError

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: Oct 02, 2025