ironfish icon indicating copy to clipboard operation
ironfish copied to clipboard

Simplify Rust error types

Open mat-if opened this issue 2 years ago • 0 comments

Summary

Simplify ironfish-rust to single error type and create a small helper for converting to napi errors

The goal here is to make it a little easier to work with errors, spending less time thinking about which type is correct. This also makes it easier to extend functionality (implement From/Into traits, etc).

Testing Plan

Breaking Change

Is this a breaking change? If yes, add notes below on why this is breaking and what additional work is required, if any.

[ ] Yes

mat-if avatar Oct 17 '22 19:10 mat-if