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
Lint
Lint Not Applicable
Unit
Tests Not Applicable