Skip to content

Commit 1f370f7

Browse files
authored
add the error number for unhandled user-defined exceptions (#192)
1 parent 410c4d5 commit 1f370f7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/myxql/protocol/server_error_codes.ex

+1
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ defmodule MyXQL.Protocol.ServerErrorCodes do
2727
{1451, :ER_ROW_IS_REFERENCED_2},
2828
{1452, :ER_NO_REFERENCED_ROW_2},
2929
{1461, :ER_MAX_PREPARED_STMT_COUNT_REACHED},
30+
{1644, :ER_SIGNAL_EXCEPTION},
3031
{1792, :ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION},
3132
{1836, :ER_READ_ONLY_MODE},
3233
{3819, :ER_CHECK_CONSTRAINT_VIOLATED}

0 commit comments

Comments
 (0)