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 thrown when invalid argument is passed to method.

Extends

Constructors

new InvalidArgumentError()

new InvalidArgumentError(message): InvalidArgumentError

Parameters

message

any

Returns

InvalidArgumentError

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