Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Add constraint method to DatabaseError trait #998

Merged
merged 1 commit into from
Jan 21, 2021

Conversation

fl9
Copy link

@fl9 fl9 commented Jan 20, 2021

Override constraint method for PgDatabaseError.

Fixes #821

Override `constraint` method for `PgDatabaseError`.
@mehcode
Copy link
Member

mehcode commented Jan 21, 2021

Looks good to me. Thank you.

@mehcode mehcode merged commit 68cf2f9 into launchbadge:master Jan 21, 2021
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.

[Postgres] add constraint() to the DatabaseError trait, which covers most uses of downcasting
2 participants