Closed zenria closed 9 months ago
Hi, to use BDT as a lib in other programs, the Error struct should implements the Error trait.
It will be then easy to let some other crate such as anyhow or eyre handle error propagation and reporting.
anyhow
eyre
This PR implements the Error trait on the struct using thiserror
thiserror
Hi, to use BDT as a lib in other programs, the Error struct should implements the Error trait.
It will be then easy to let some other crate such as
anyhow
oreyre
handle error propagation and reporting.This PR implements the Error trait on the struct using
thiserror