PgErrorClassification
TypeSignature
type PgErrorClassification = {
kind: "undefined_table";
tableName: string;
};postgres/src/state-provider/state-provider.pg.ts:12
The classification of a driver error the PostgreSQL state adapter acts on, as returned by PgStateProvider.classifyError.
undefined_table— SQLSTATE42P01, with the missing relation's name as the server reports it (relation "<table>" does not exist). Without the name the adapter cannot tell its fence apart from another missing table, so a provider that cannot read it returnsundefined.
Properties
- kind
"undefined_table" - tableName
string