Class

Internal

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

Constructor

# new Internal(messageopt) → {Error}

A constructor function that creates the internal error object. An internal error object is used to represent a generic error that is caused by calling an external library.

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#Internal which in turn inherit from module:base/error#XDKError.

Error