Use improved error message generation
This commit is contained in:
@@ -8,7 +8,7 @@ pub type Output = Box<dyn Write>;
|
||||
pub type Input = Box<dyn Read>;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! construct_from_error_if {
|
||||
macro_rules! format_if_error {
|
||||
($result:expr, $format_text:literal) => {
|
||||
tool_helper::callback_if_error($result, |error_text| {
|
||||
format!($format_text, error_text=error_text)
|
||||
|
Reference in New Issue
Block a user