Skip to content

Commit

Permalink
add the error number for unhandled user-defined exceptions (#192)
Browse files Browse the repository at this point in the history
  • Loading branch information
petermueller authored Jul 29, 2024
1 parent 410c4d5 commit 1f370f7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/myxql/protocol/server_error_codes.ex
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ defmodule MyXQL.Protocol.ServerErrorCodes do
{1451, :ER_ROW_IS_REFERENCED_2},
{1452, :ER_NO_REFERENCED_ROW_2},
{1461, :ER_MAX_PREPARED_STMT_COUNT_REACHED},
{1644, :ER_SIGNAL_EXCEPTION},
{1792, :ER_CANT_EXECUTE_IN_READ_ONLY_TRANSACTION},
{1836, :ER_READ_ONLY_MODE},
{3819, :ER_CHECK_CONSTRAINT_VIOLATED}
Expand Down

0 comments on commit 1f370f7

Please sign in to comment.