Skip to content

Add dedicated session attribute errors - #2635

Open
adriansmares wants to merge 1 commit into
jackc:masterfrom
adriansmares:users/adriansmares/NOTICKET/feature/pgx-error-returns
Open

Add dedicated session attribute errors#2635
adriansmares wants to merge 1 commit into
jackc:masterfrom
adriansmares:users/adriansmares/NOTICKET/feature/pgx-error-returns

Conversation

@adriansmares

Copy link
Copy Markdown
Contributor

References #2634

This PR exports the errors returned by the default ValidateConnect callbacks as dedicated errors, such that downstream consumers can assert their types with errors.Is.

@adriansmares
adriansmares marked this pull request as ready for review August 22, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant