macro_rules! handle_db_error {
( $err: expr, $not_found_val: expr, $( $arg: expr),* ) => { ... };
}Expand description
Macro for logging and handling errors with a custom return value to use
when the database raises a RowNotFound error.
macro_rules! handle_db_error {
( $err: expr, $not_found_val: expr, $( $arg: expr),* ) => { ... };
}Macro for logging and handling errors with a custom return value to use
when the database raises a RowNotFound error.