Skip to content

Conversation

@penberg
Copy link
Contributor

@penberg penberg commented Jan 7, 2026

We currently have divergence in what error code means in local and remote setups. Fix the consistency issue by making error code mean the basic one, which is what the SQL over HTTP protocol returns.

However, add SQLite extended error codes to LibSqlError and populate that for the local setup. We'll add that for remote too, but that requires a SQL over HTTP protocol extension and server side change.

@penberg penberg force-pushed the libsql-extended-error-code branch from d2e4109 to ec2c466 Compare January 7, 2026 07:42
@penberg penberg changed the title Unify error code in LibSqlError for local and remote Unify error code in LibsqlError for local and remote Jan 7, 2026
@penberg penberg force-pushed the libsql-extended-error-code branch 3 times, most recently from 41f0df4 to 717a512 Compare January 7, 2026 08:34
We currently have divergence in what error code means in local and remote
setups. Fix the consistency issue by making error code mean the basic one,
which is what the SQL over HTTP protocol returns.

However, add SQLite extended error codes to LibSqlError and populate that for
the local setup. We'll add that for remote too, but that requires a SQL over
HTTP protocol extension and server side change.
@penberg penberg force-pushed the libsql-extended-error-code branch from 717a512 to 13e0490 Compare January 7, 2026 08:49
@penberg penberg merged commit 695a87b into main Jan 7, 2026
6 checks passed
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.

3 participants