We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 82988c1 commit 5befa05Copy full SHA for 5befa05
packages/sqlite_async/lib/src/web/worker/worker_utils.dart
@@ -83,7 +83,9 @@ class AsyncSqliteDatabase extends WorkerDatabase {
83
if (data.requireTransaction.toDart && database.autocommit) {
84
throw SqliteException(
85
extendedResultCode: 0,
86
- message: 'Not in a transaction',
+ message:
87
+ 'Transaction rolled back by earlier statement. Cannot execute',
88
+ causingStatement: data.rawSql.toDart,
89
);
90
}
91
0 commit comments