decode
Parses one response frame. Only the error member is validated here; result is kept raw for the typed decoders in DappJson.
Throws
with DappErrorCode.INVALID_PARAMS when jsonrpc is not "2.0", or DappErrorCode.INTERNAL when an error member has no numeric code.