Class TimeoutError

All Implemented Interfaces:
Serializable

public class TimeoutError extends AgentsError
TimeoutError

Thrown when an operation exceeds its timeout limit. This can occur during model calls, tool execution, or overall run execution.

Follows TypeScript SDK pattern (AbortSignal cancellation) Source: https://openai.github.io/openai-agents-js/guides/running-agents/

See Also:
  • Constructor Details

    • TimeoutError

      public TimeoutError(String operation, long timeoutMs)
    • TimeoutError

      public TimeoutError(String operation, long timeoutMs, Throwable cause)