Agent Client Protocol - v1.8.0
    Preparing search index...

    Type Alias ErrorStopReasonExperimental

    UNSTABLE

    This capability is not part of the spec yet, and may be removed or changed at any point.

    Details of a failure that ended a child's foreground work.

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

    The failure, as a JSON-RPC error object.

    Optional. Omitted or null both mean the agent is not reporting failure details. Agents SHOULD include it.