kevinheavey / solders

A high-performance Python toolkit for Solana, written in Rust
https://kevinheavey.github.io/solders/
Apache License 2.0
205 stars 23 forks source link

Don't leak custom types in solders-traits #26

Closed kevinheavey closed 1 year ago

kevinheavey commented 1 year ago

Use ValueError instead of custom errors like SerdeJSONError. These types don't work properly in other packages. See https://github.com/PyO3/pyo3/issues/1444