Electric-Coin-Company / zcash-android-wallet-sdk

Native Android SDK for Zcash
MIT License
5 stars 11 forks source link

Validate and standardize SDK exceptions #1484

Open HonzaR opened 6 months ago

HonzaR commented 6 months ago

Is your feature request related to a problem? Please describe.

We'd like to check and rethink the SDK exception system we have built-in. For example, RuntimeException from the Rust layer of the SDK should always be translated and enriched on the Kotlin side to a more detailed particular exception instead of throwing the RuntimeException itself.

Describe the solution you'd like

Alternatives you've considered

Additional context

This will impact the SDK's public API, so make sure you update the Changelog as necessary