Construct an XrplError.
The error message.
The data that caused the error.
Optional override for formatting stack traces
Console.log in node uses util.inspect on object, and util.inspect allows us to customize its output: https://nodejs.org/api/util.html#util_custom_inspect_function_on_objects.
The String output of the Error.
Converts the Error to a human-readable String form.
The String output of the Error.
Create .stack property on a target object
Generated using TypeDoc
Base Error class for xrpl.js. All Errors thrown by xrpl.js should throw XrplErrors.