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
Native
Skip to main content

Interface IError

interface IError
Extends IStandard The standard error interface.

Methods

getTypes()

string getTypes()
Get the list of error types as a comma-separated list. Each entry in the list is the fully-qualified name of an error type. The list does not include BaseError. Returning a comma-separated list instead of a more elaborte data structure simplifies processing on error recovery paths.

Returns

string comma-separated error type list

getMessage()

string getMessage()

Returns

string the message associated with this error
Last modified on October 29, 2026