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