ResponseError
Purpose and behavior
Section titled “Purpose and behavior”OutpostError with code response, thrown when a typed answer has no complete tag or its content fails parsing or validation. A dispatch throws it once no repair turn remains; its recovery then names the conversation, branch, directory and turns.
Complete example and detailed rules.
Parameters and properties
Section titled “Parameters and properties”tagRequiredstringTag the response contract expected.rawRequiredstring | undefinedTrimmed content of the last complete tag that failed parsing or validation; undefined when no complete tag was found.recoveryRequiredReadonly<Record<string, unknown>>Locations of work retained after the failure, such as branch, directory, commits, transcript, logReference or conversation; empty when nothing was retained. A remote synchronization failure puts its transfer directory in details.recovery instead.codeRequiredFaultCodeStable Outpost fault category used for programmatic failure handling.detailsRequiredReadonly<Record<string, unknown>>Frozen diagnostics for the code: status, stdout, stderr and conversation for a failed agent process; status and retryAfterMs (the minimum wait of a task retry) for an HTTP model error; resetAt for a quota, and fallback when every fallback candidate hit one. unavailable marks an outage for unavailableFault(), including a timeout after an agent reported a connection failure.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.