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 DBConnection.ConnectionError.t/0 type #304

Merged
merged 1 commit into from
Jan 5, 2024

Conversation

whatyouhide
Copy link
Contributor

I also moved the connection error definition into its own file and added some guards to its exception/2 function.

The idea here is to lay the foundations for expanding :reason so that programmers can gather more from that instead of sometimes having to match on the message.

@josevalim josevalim merged commit 8ef1f2e into elixir-ecto:master Jan 5, 2024
2 checks passed
@josevalim
Copy link
Member

💚 💙 💜 💛 ❤️

@whatyouhide whatyouhide deleted the al/connection-error-docs branch January 5, 2024 16:00
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.

2 participants