You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(types): add SQLSTATE codes for undefined-function/div0 (#216)
Add UNDEFINED_FUNCTION (SQLSTATE 42883) and DIVISION_BY_ZERO
(SQLSTATE 22012) as first-class ErrorCode/ErrorDetails variants, with
msgpack wire tags, encode/decode support, and NodeDbError
constructors. Purely additive plumbing: both codes are unused until
the callers that raise them land in a follow-up commit.
Today a function call naming no registered scalar/aggregate/window
function, or an expression that divides or takes a modulus by zero,
silently folds to NULL instead of failing the statement — this gives
those two cases a distinct, matchable error identity instead of
forcing clients to parse a generic message.
0 commit comments