Macro handle_db_error

Source
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.