Skip to main content

map_pool_error

Function map_pool_error 

Source
pub fn map_pool_error(err: PoolError, context: &str) -> TargetError
Expand description

Maps a deadpool_postgres::PoolError to the proper TargetError variant.