HomePhabricator

[Chronik] Add `abc-rust-error` crate for convenient error handling

Description

[Chronik] Add abc-rust-error crate for convenient error handling

Summary:
Add abc-rust-error: helpers and re-exports for error handling.

If RUST_BACKTRACE is enabled, Reports from eyre using stable-eyre will give us a detailled backtrace to where an error
originated.

Depends on D11795.

Test Plan: ninja check-crates

Reviewers: Fabien, #bitcoin_abc

Reviewed By: Fabien, #bitcoin_abc

Differential Revision: https://reviews.bitcoinabc.org/D11774

Details

Provenance
tobias_ruckAuthored on Jul 20 2022, 10:30
tobias_ruckPushed on Jul 22 2022, 17:03
Reviewer
Restricted Project
Differential Revision
D11774: [Chronik] Add `abc-rust-error` crate for convenient error handling
Parents
rABC771ff36d5af4: [Chronik] Refactor Rust crates and CMake targets
Branches
Unknown
Tags
Unknown