OptionalgovernanceGovernance check result (present when governance is configured)
OptionalgovernanceGovernance outcome (present after successful execution with governance)
OptionalgovernanceError message when governance outcome reporting failed
OptionalconversationFull conversation history
Optionaldebug_Debug logs (if debug enabled)
OptionalmatchExhaustive pattern match on the result's status. Prefer this method
form — it autocompletes alongside the other TaskResult accessors.
The free function import('./match').match is also exported for compositional use (e.g., point-free style or when the result type is not yet narrowed).
Attached non-enumerably by the client when the result is returned
from executeTask. Results constructed by hand (e.g., in test
fixtures or custom middleware) will not have this method — use the
free function, or call attachMatch(result) first.
OptionaldataResponse payload with structured error details (adcp_error, context, ext)
Human-readable error message
OptionaladcpStructured AdCP error (code, recovery, suggestion, retryAfterMs)
OptionalerrorTyped ADCPError subclass instance when the seller's error code has a
dedicated class — currently IdempotencyConflictError and
IdempotencyExpiredError. Lets callers write
if (result.errorInstance instanceof IdempotencyConflictError) instead of
switching on adcpError.code strings. Absent for codes without a typed
mapping.
OptionalcorrelationCorrelation ID from the error response context, for tracing across agents
OptionaldeferredOptionalsubmitted
Task failed —
erroris always present.