as

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

NoncomparableRatingsError

Raised when attempting to compare ratings from different domains in a context where the domains must overlap, such as when invoking IContentRatingLevel#isLessOrEquallyRestrictiveThan with ratings levels with different ratings systems.

Extends

  • Error

Constructors

new NoncomparableRatingsError()

new NoncomparableRatingsError(message): NoncomparableRatingsError

Parameters

message

string

Returns

NoncomparableRatingsError

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


ERROR_NAME

static ERROR_NAME: string = 'NoncomparableRatingsError'


Last updated: Sep 30, 2025