Page MenuHomePhabricator

[Chronik] Move `HashedError` to `error` module, rename to `DataError`
ClosedPublic

Authored by tobias_ruck on Mar 30 2023, 10:46.

Details

Summary

When we add more primitives (e.g. PubKey), it's better to share one error type.

We don't use Report in bitcoinsuite-core, because we eventually want others to be able to use this crate, and we shouldn't force them to use Report for their error handling.

Test Plan

ninja check-crates

Diff Detail

Repository
rABC Bitcoin ABC
Branch
chronik-data-error
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 22826
Build 45272: Build Diffbuild-chronik
Build 45271: arc lint + arc unit