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
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.
The text was updated successfully, but these errors were encountered:
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:
Whereas this SDK shows:
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.
The text was updated successfully, but these errors were encountered: