CoAgent8 - Source API
    Preparing search index...

    Function classifyClaudeFailure

    • Maps structured Claude Code failure fields to a typed error.

      Parameters

      Returns ExecutionError

      A typed error whose message is a redacted diagnostic.

      Classification never inspects stderr or free text, except the anchored result.errors prefixes above. A rate limit includes the provider reset in the "resets at" form that parseResetTimestamp reads.