Closed ninedraft closed 2 months ago
Remaking pgx.ErrNoRows as wrapper over sql.ErrNoRows
Why not just var ErrNoRows = sql.ErrNoRows? I want to preserve the original error message in case any tools (log analyzers, for example) depend on the exact string value
var ErrNoRows = sql.ErrNoRows
Corresponding issue https://github.com/jackc/pgx/issues/1931
Remaking pgx.ErrNoRows as wrapper over sql.ErrNoRows
Why not just
var ErrNoRows = sql.ErrNoRows
? I want to preserve the original error message in case any tools (log analyzers, for example) depend on the exact string valueCorresponding issue https://github.com/jackc/pgx/issues/1931