add err log trait to Result

Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
Jason Volk 2024-09-08 04:39:27 +00:00 committed by strawberry
parent 3d4b0f10a5
commit aa265f7ca4
5 changed files with 163 additions and 6 deletions

View file

@ -1,6 +1,8 @@
mod debug_inspect;
mod log_debug_err;
mod log_err;
mod map_expect;
pub use self::{debug_inspect::DebugInspect, map_expect::MapExpect};
pub use self::{debug_inspect::DebugInspect, log_debug_err::LogDebugErr, log_err::LogErr, map_expect::MapExpect};
pub type Result<T = (), E = crate::Error> = std::result::Result<T, E>;