Class ToolRateLimitException

All Implemented Interfaces:
Serializable

public class ToolRateLimitException extends ToolException
Tool was rate-limited by upstream — typically HTTP 429. Retryable, and carries the upstream-suggested retry-after when available so the resilience layer can honor the wait instead of hammering the API back into the rate-limit window.
Since:
0.5.0 (issue #88)
See Also:
  • Constructor Details

    • ToolRateLimitException

      public ToolRateLimitException(String toolName, Duration retryAfter)
    • ToolRateLimitException

      public ToolRateLimitException(String toolName, Duration retryAfter, Integer remainingBudget)
  • Method Details