as

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

InvalidArgumentError

Error class for invalid argument exception.

Extends

  • Error

Constructors

new InvalidArgumentError()

new InvalidArgumentError(msg): InvalidArgumentError

Creates an instance of InvalidArgumentError.

Parameters

msg

string

The error message.

Returns

InvalidArgumentError

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