mirror of
https://github.com/chatmail/core.git
synced 2026-04-24 17:06:28 +03:00
Depend on anyhow directly
This removes the proxy via crate::error to depend on anyhow directly. There is no benefit to this indirection and this makes it simpler to see which error types are used.
This commit is contained in:
committed by
link2xt
parent
7b5a3a8346
commit
355e0145c0
@@ -1,7 +1,5 @@
|
||||
//! # Error handling
|
||||
|
||||
pub use anyhow::{bail, ensure, format_err, Error, Result};
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! ensure_eq {
|
||||
($left:expr, $right:expr) => ({
|
||||
|
||||
Reference in New Issue
Block a user