CoAgent8 - Source API
    Preparing search index...

    Function classifyCodexTurnError

    • Classifies an app-server TurnError ({ message, codexErrorInfo, additionalDetails }).

      Parameters

      • error: unknown

        The error of a failed turn or error notification.

      • fallbackMessage: string

        Message used when the payload carries none.

      Returns ExecutionError

      A typed error; HTTP failures use their status code, other kinds their message.