| Crates.io | bherror |
| lib.rs | bherror |
| version | 0.1.0 |
| created_at | 2025-03-17 09:40:06.22551+00 |
| updated_at | 2025-03-17 09:40:06.22551+00 |
| description | TBTL's library for error handling in Rust. |
| homepage | |
| repository | https://github.com/blockhousetech/eudi-rust-core |
| max_upload_size | |
| id | 1595245 |
| size | 84,311 |
This library provides an error handling mechanism in Rust for use across all of The Blockhouse Technology Limited (TBTL) code.
NOTE: If you are working outside of TBTL, you probably don't want to use this. Take a look at anyhow or thiserror instead.
The library provides a couple of error types.
Error which carries the type information of the concrete error.ErrorDyn which type-erases the concrete error, similar to anyhow::Error.All of the above are backed by a BhError trait which must be implemented by
your own error types.
Anytime you construct a bherror error, it will be logged as a warning using
the log crate.
For additional documentation & examples, take a look at the crate documentation.
The changelog can be found here.