SemanticErrorReason type

maxWaitExceeded: If 'semanticMaxWaitInMilliseconds' was set and the semantic processing duration exceeded that value. Only the base results were returned.

capacityOverloaded: The request was throttled. Only the base results were returned.

transient: At least one step of the semantic process failed.

type SemanticErrorReason =
  | "maxWaitExceeded"
  | "capacityOverloaded"
  | "transient"