Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/postgres/client/error.ts>TransactionError

PostgreSQL driver for Deno
Go to Latest
class TransactionError
extends Error
import { TransactionError } from "https://deno.land/x/postgres@v0.19.0/client/error.ts";

A transaction error

Constructors

new
TransactionError(transaction_name: string, cause: PostgresError)

Create a transaction error with a message and a cause