function notNullGuardFailure
notNullGuardFailure(
error: unknown,
column: string,
): boolean

Whether a failed batch tripped a guard's NOT NULL insert — the one shape every guard abort surfaces with, named by the constraint that tripped it.

Parameters

error: unknown
column: string

Return Type

boolean

Usage

import { notNullGuardFailure } from "docs/database.ts";