JsonRpcErrorBody
The error member of a JSON-RPC response.
Types
Link copied to clipboard
object Companion
Conversions between the wire body and DappException.
Properties
Functions
Link copied to clipboard
Maps onto DappException. An unrecognised code becomes DappErrorCode.INTERNAL rather than throwing: a wallet is free to use codes this SDK predates, and losing the message would be worse than losing the exact code.