Construct an XrplError.
The error message.
Optionaldata: unknownThe data that caused the error.
Optional ReadonlydataReadonlymessageReadonlynameOptionalstackStatic OptionalprepareOptional override for formatting stack traces
StaticstackConsole.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.
StaticcaptureCreate .stack property on a target object
OptionalconstructorOpt: Function
Error thrown when a client cannot generate a wallet from the testnet/devnet faucets, or when the client cannot infer the faucet URL (i.e. when the Client is connected to mainnet).