Skip to main content

map_sqlx_error

Function map_sqlx_error 

Source
pub fn map_sqlx_error(e: Error) -> Error
Expand description

Map a sqlx::Error to our Error type, detecting PostgreSQL-specific constraint violations and error codes.