Class

XDKError

(abstract) base/error#XDKError()

Constructor

# abstract new XDKError()

The base class for all custom XDK error. XDK library will never throw an error directly from this class, but one of those derived one. However, you may wish to test an Error object against this constructor and see whether an error object is generated by XDK.

See:
Example
var test = new error.IllegalState("test");
console.log(test instanceOf error.XDKError);
// true

Extends

  • Error