ErrorCode
type ErrorCode = "BQL" | "CONNECTION" | "TIMEOUT";
Machine-readable error codes. Branch on error.code rather than parsing
messages — useful for programmatic recovery (including by LLM agents).
Was this page helpful?
type ErrorCode = "BQL" | "CONNECTION" | "TIMEOUT";
Machine-readable error codes. Branch on error.code rather than parsing
messages — useful for programmatic recovery (including by LLM agents).