bitcoindevkit / bitcoindevkit/bitcoin-ffi

Fix Error Serialization with the addition od Display on Errors

Open
#38 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
13
Forks
11
PR merge metrics
No merged PRs in 30d

Description

At the moment we just stringify all errors but ideally we would want to pass across the actual error types, However until uniffi 0.30 we had to choose between readable errors or errors that could be properly type cast. Until now all of our Errors are just the strigifiied versions, however, with the new uniffi release it looks as though we can add a simple Display trait on the errors to allow them to be stringified while also passing the actual error.

We started the discussion in #36

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.