macro to make returning error string easier

master
rasul 4 years ago
parent 1f29883c84
commit c2280b350e

@ -0,0 +1,6 @@
#[macro_export]
macro_rules! serr {
($($arg:tt)*) => {
Err(Box::from([$($arg)*].concat()));
};
}
Loading…
Cancel
Save