Type Alias IndexingErrorCode
IndexingErrorCode:
| "unknown"
| "file_size_exceeded"
| "download_failed"
| "parse_failed"
| "parse_timeout"
| "chunk_failed"
| "chunk_timeout"
| "guardrail_blocked"
| "unsupported_file"
| "index_verification_failed"
| "file_not_found"
| "document_has_macros"
| "scan_failed"
| "pages_limit_exceeded"
| "pages_enforcement_failed"
| "governance_budget_exceeded"
Stable, machine-readable error category for an indexing failure, shared across services (worker, indexer, assistants) and the UI so failures can be mapped to friendly messages without brittle string matching.