pub fn map_sqlx_error(err: &Error) -> RepositoryErrorExpand description
The one place that knows Postgres error codes: a driver error, as the repository port speaks it.
The caller logs it first, with its own context. An entity with references converts with
map_sqlx_error_with instead.