pub fn map_sqlx_error(e: Error) -> Error
Map a sqlx::Error to our Error type, detecting PostgreSQL-specific constraint violations and error codes.
sqlx::Error
Error