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.
TransactionError
Deno.errors.BrokenPipe
1 parent 014f600 commit 412bbfbCopy full SHA for 412bbfb
1 file changed
client/error.ts
@@ -58,7 +58,7 @@ export class TransactionError extends Error {
58
/**
59
* Create a transaction error with a message and a cause
60
*/
61
- constructor(transaction_name: string, cause: PostgresError) {
+ constructor(transaction_name: string, cause: PostgresError | Deno.errors.BrokenPipe) {
62
super(`The transaction "${transaction_name}" has been aborted`, { cause });
63
this.name = "TransactionError";
64
}
0 commit comments