-
Notifications
You must be signed in to change notification settings - Fork 32
Open
Description
The other libsql drivers show both the SQLite error code along with the message. This helps developers better understand and diagnose problems. For example, the TypeScript and Python SDKs yield errors that look like this:
SQLITE_CONSTRAINT: SQLite error: cannot store TEXT value in INT column foo.i
Whereas this SDK shows:
SQLite error: cannot store TEXT value in INT column foo.i
Ideally the error object is a struct that provides the code and message separately, but I'm not sure if that's possible as sql/database driver.
Metadata
Metadata
Assignees
Labels
No labels