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 ER_SIGNAL_EXCEPTION for unhandled user-defined exceptions #192

Merged

Conversation

petermueller
Copy link
Contributor

allows passing the ER_SIGNAL_EXCEPTION name for MyXQL.Error

This is the typical error number suggested for creating custom exceptions, usually from procedures or triggers.

It is supported by MySQL 8.x, MySQL 5.x, and MariaDB

@petermueller
Copy link
Contributor Author

This is related to elixir-ecto/ecto_sql#627, and is used in testing for the custom constraint handler in that PR

@wojtekmach wojtekmach merged commit 1f370f7 into elixir-ecto:master Jul 29, 2024
9 checks passed
@wojtekmach
Copy link
Member

Thank you!

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