gagliardetto / solana-go

Go SDK library and RPC client for the Solana Blockchain
Apache License 2.0
943 stars 267 forks source link

Add error handling to WebSocket handleMessage function, resolves #175 #210

Open theghostmac opened 6 months ago

theghostmac commented 6 months ago

Changelog:

Davincible commented 1 month ago

@gagliardetto right now there's no rpc error handling, would be great to have this. As an example, error that I was running into;

{"jsonrpc":"2.0","error":{"code":-32600,"message":"Batch size too large for calls using account indexes. Limit is 10"}}