ACP v2 (Preview) TypeScript SDK — UNSTABLE - v2.12.1
    Preparing search index...

    Type Alias ErrorStopReason

    Details of a failure that ended active work.

    type ErrorStopReason = {
        error?: Error | null;
    }
    Index
    error?: Error | null

    The failure, as a JSON-RPC error object.

    Optional. Omitted and null are equivalent and mean the Agent is not reporting failure details. Agents SHOULD include it.