Error codes
Exfer uses the standard JSON-RPC 2.0 codes:
| Code | Name | Meaning |
|---|---|---|
-32700 | Parse error | Malformed JSON or framing |
-32601 | Method not found | Unknown method |
-32602 | Invalid params | Bad hex, wrong length, missing field, tx invalid, block missing |
-32603 | Internal error | Storage / serialization / transient failure |
The message field is human-readable; do not parse it. Branch on code
plus explicit substrings only for retry decisions.