- Preparing search index...
- The search index is not available
Documentation
Type alias RpcResp_error<method_s>
Rpc
Resp_
error
<method_s>: { jsonrpc
: "2.0"; id
: number | string; method
: method_s; error
: RpcError }
Type Parameters
Type declaration
-
jsonrpc: "2.0"
-
id: number | string
-
method: method_s
-
This is the shape of unsuccessful responses
Example
From a page script, using sidekick, I asked for the user's address. Superhero popped up the little dialog thing asking if I wanted to connect, and I hit "deny". This is what was sent back. Code
4corresponds to ERROR_CODE_RpcRejectedByUserError.