Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Use sql.ErrNoRows as value for pgx.ErrNoRows #2115

Merged
merged 1 commit into from
Aug 26, 2024

Conversation

ninedraft
Copy link
Contributor

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

Corresponding issue
#1931

@jackc jackc merged commit 97d20cc into jackc:master Aug 26, 2024
14 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants