Documentation
¶
Overview ¶
Package postgres provides PostgreSQL-specific DB error mapping. It translates pgx and pgconn errors into core/errors.AppError with domain-appropriate error codes.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MapDBError ¶
MapDBError maps PostgreSQL errors to core domain errors. Returns nil if the input error is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.