macro_rules! return_user_error { ($error_message: expr) => { ... }; ($fmt:expr, $($arg:tt)*) => { ... }; }
Expand description
Utility macro for an early exit from a function returnng an [Error
] that
represents a user-actionable failure condition.
macro_rules! return_user_error { ($error_message: expr) => { ... }; ($fmt:expr, $($arg:tt)*) => { ... }; }
Utility macro for an early exit from a function returnng an [Error
] that
represents a user-actionable failure condition.