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

x/postgres/client/error.ts>PostgresError

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

A Postgres database error

Constructors

new
PostgresError(fields: Notice)

Create a new PostgresError

Properties

fields: Notice

The fields of the notice message