/** * GENERATED FILE — DO NOT EDIT BY HAND. * * Source of truth: the constructive-db error audit (824 distinct codes * raised via EXCEPTION/THROW across deploy sources + generated output). * Regenerate with `python3 scripts/generate-registry.py` (see README.md). * * Public copy is seeded from the dashboard error catalogs; developer/invariant * codes carry their raw message (with %-args rendered as {{argN}}). Curated * entries in `registry.ts` override anything here (typed context + refined copy). * * Counts: 824 total, 604 public, 220 internal. */ import { type DefinedError } from '../define'; import type { ErrorContext } from '../types'; export interface GeneratedCodeMeta { class: 'public' | 'internal'; dynamic: boolean; /** True when the code is only emitted by DB code generators (no hand source). */ generatedOnly: boolean; } /** Every constructive-db error code, keyed by code. */ export declare const generatedRegistry: Record>; /** Audit metadata for each generated code. */ export declare const GENERATED_CODE_META: Record; /** Total number of codes collected from constructive-db. */ export declare const GENERATED_CODE_COUNT = 824;