FOREIGN_KEY_DNE_ERROR() — astro Function Reference
Architecture documentation for the FOREIGN_KEY_DNE_ERROR() function in errors.ts from the astro codebase.
Entity Profile
Dependency Diagram
graph TD c6d2e217_1e42_e3dc_e0fb_7d60884f16e0["FOREIGN_KEY_DNE_ERROR()"] a8f82b98_ee2e_27ec_9847_3e96aeedc4ee["errors.ts"] c6d2e217_1e42_e3dc_e0fb_7d60884f16e0 -->|defined in| a8f82b98_ee2e_27ec_9847_3e96aeedc4ee style c6d2e217_1e42_e3dc_e0fb_7d60884f16e0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/db/src/runtime/errors.ts lines 3–7
export const FOREIGN_KEY_DNE_ERROR = (tableName: string) => {
return `Table ${colors.bold(
tableName,
)} references a table that does not exist. Did you apply the referenced table to the \`tables\` object in your db config?`;
};
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does FOREIGN_KEY_DNE_ERROR() do?
FOREIGN_KEY_DNE_ERROR() is a function in the astro codebase, defined in packages/db/src/runtime/errors.ts.
Where is FOREIGN_KEY_DNE_ERROR() defined?
FOREIGN_KEY_DNE_ERROR() is defined in packages/db/src/runtime/errors.ts at line 3.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free