Closed petermueller closed 3 months ago
allows passing the ER_SIGNAL_EXCEPTION name for MyXQL.Error
ER_SIGNAL_EXCEPTION
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
This is related to https://github.com/elixir-ecto/ecto_sql/pull/627, and is used in testing for the custom constraint handler in that PR
Thank you!
allows passing the
ER_SIGNAL_EXCEPTION
name forMyXQL.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