mirror of
https://forgejo.ellis.link/continuwuation/continuwuity.git
synced 2026-11-14 04:37:00 +00:00
cleanup some error callsites
Signed-off-by: Jason Volk <jason@zemos.net>
This commit is contained in:
1 parent
b903b46d16
commit
d67f19a55d
9 files changed
+96
-144
No files matched your search
@@ -31,6 +31,7 @@
|
||||
//! Err(Database(error!("problem with db: {msg}")))` logs the error at the
|
||||
//! callsite and then returns the error with the same string. Caller has the
|
||||
//! option of replacing `error!` with `debug_error!`.
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! Err {
|
||||
($($args:tt)*) => {
|
||||
|
||||
Reference in new issue
Block a user