Class

UnsupportedOperation

base/error#UnsupportedOperation(messageopt) → {Error}

Constructor

# new UnsupportedOperation(messageopt) → {Error}

A constructor function that creates the unsupportedOperation error object. An unsupportedOperation error object is used to represent the error when the caller is trying to perform an operation that is not supproted by the platform.

Parameters:
Name Type Attributes Description
message String <optional>

Human-readable description of the error.

Custom error object, which is an instance of module:base/error#UnsupportedOperation which in turn inherit from module:base/error#XDKError.

Error