WorkflowBudgetExceeded
Purpose and behavior
Section titled “Purpose and behavior”Error recorded in WorkflowResult.errors when a budget limit is reached, which fails the run. An attempts limit cancels the tasks not yet started; a token limit also cancels running tasks.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”dimensionRequired"input" | "cached" | "cacheCreated" | "output" | "attempts"Budget dimension whose admission limit was exceeded: attempts or a token counter.limitRequirednumberConfigured admission threshold for the exceeded budget dimension.observedRequirednumberCurrent cumulative amount observed for the exceeded budget dimension.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.