We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8df57b9 commit b0e572cCopy full SHA for b0e572c
package/src/operations/transaction.ts
@@ -36,10 +36,8 @@ export const transaction = (
36
params?: SQLiteQueryParams,
37
): QueryResult<Data> => {
38
if (isFinalized) {
39
- throw NitroSQLiteError.fromError(
40
- new NitroSQLiteError(
41
- `Cannot execute query on finalized transaction: ${dbName}`,
42
- ),
+ throw new NitroSQLiteError(
+ `Cannot execute query on finalized transaction: ${dbName}`,
43
)
44
}
45
return execute(dbName, query, params)
0 commit comments