We have a code, which is normally the SQLite error code, such as SQLITE_CONSTRAINT, but the message of the error doesn't have representation here. The developer must dig into args to make some assumptions about what's there. It would be better if message was also a field here with the English explanation of the error.
We have a
code
, which is normally the SQLite error code, such asSQLITE_CONSTRAINT
, but the message of the error doesn't have representation here. The developer must dig intoargs
to make some assumptions about what's there. It would be better ifmessage
was also a field here with the English explanation of the error.