Class RateLimitChallengeException

  • All Implemented Interfaces:
    java.io.Serializable

    
    public final class RateLimitChallengeException
    extends ChatServiceException
                        

    Thrown when a request should be retried after waiting.

    <p>When the websocket transport is in use, this corresponds to a {@code HTTP 428} response to requests to a number of endpoints.
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final String getToken()
      final Set<ChallengeOption> getOptions()
      • Methods inherited from class kotlin.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait