Construct an XrplError.
The error message.
Optional data: unknownThe data that caused the error.
Optional Readonly dataReadonly messageReadonly nameOptional stackStatic Optional prepareOptional override for formatting stack traces
https://v8.dev/docs/stack-trace-api#customizing-stack-traces
Static stackConsole.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.
Static captureGenerated using TypeDoc
Error thrown when rippled is not initialized.