Documentation Index
Fetch the complete documentation index at: https://polynode.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Error Handling
All SDK methods returnpolynode::Result<T>, which wraps polynode::Error:
Error Variants
| Variant | When it occurs |
|---|---|
Http | Network-level request failure |
WebSocket | WebSocket connection or protocol error |
Json | Response deserialization failure |
Api { status, message } | Server returned a non-success status |
Auth | 401 or 403 from the API |
RateLimited | 429 from the API |
NotFound | 404 from the API |
Disconnected | WebSocket connection lost |
Decompression | zlib decompression failure |
ConnectionClosed | Server closed the WebSocket |
Url | URL parse error |
Trading | Trading-specific error (feature: trading) |
Signing | EIP-712 signing failure (feature: trading) |
Sqlite | Local database error (feature: cache or trading) |
Io | File I/O error (feature: cache or trading) |
Cache | Cache-specific error (feature: cache) |

