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

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