Skip to main content

Type Alias: IntentIssueCode

IntentIssueCode = CatalogIssueCode | "invalid-intent-schema" | "invalid-intent-schema-version" | "unknown-metric" | "unknown-category" | "unknown-denominator-metric" | "unknown-geography" | "dataset-metric-mismatch" | "dataset-geography-mismatch" | "no-matching-dataset" | "ambiguous-dataset" | "unknown-filter-field" | "sensitive-filter-field" | "unsupported-filter-operator"

Defined in: intent/intentResult.ts:24

CatalogIssueCode is inherited for status-taxonomy consistency with CatalogResultStatus (PRD-004 plan D3) — validateIntent itself never emits a bare CatalogIssueCode, since it takes an already-typed, already-validated Catalog, not a raw value it re-validates. Every code validateIntent can actually produce is one of the members listed after the union.