WorkflowCostUnavailable
Purpose and behavior
Section titled “Purpose and behavior”Raised when a cost budget cannot measure every reported token because usage, model attribution or a matching price is missing. Stops running attempts even if an attempt limit exists; workflow terminationCode is usage-unavailable.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”dimensionRequired"cost"Always cost, identifying unavailable monetary accounting.nameRequiredstringError class name used to distinguish this failure from other JavaScript errors.messageRequiredstringHuman-readable explanation of the failure.stackOptionalstring | undefinedJavaScript stack trace for the error, when available.causeOptionalunknownUnderlying failure this error wraps; quotaFault() and unavailableFault() follow this chain.

