Class HttpRateLimitExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
app.ductape.sdk.http.HttpRateLimitExceededException
All Implemented Interfaces:
DuctapeError, Serializable

public final class HttpRateLimitExceededException extends RuntimeException implements DuctapeError
Thrown when the SDK-side outbound HTTP token bucket is exhausted for a host.
See Also:
  • Constructor Details

    • HttpRateLimitExceededException

      public HttpRateLimitExceededException(String host)
  • Method Details

    • host

      public String host()
    • code

      public String code()
      Description copied from interface: DuctapeError
      Stable machine-readable code, suitable for logs and API envelopes.
      Specified by:
      code in interface DuctapeError
    • details

      public Map<String,Object> details()
      Description copied from interface: DuctapeError
      Optional structured details; implementations may return an empty map.
      Specified by:
      details in interface DuctapeError