Class QuotaExceededException

All Implemented Interfaces:
Serializable

public final class QuotaExceededException extends RateLimitException
Better Stack answered 402 Quota exceeded: the team's quota or spending limit is reached. It is a RateLimitException (code RATE_LIMITED) that is not retryable, since waiting does not lift the limit.
See Also:
  • Constructor Details

    • QuotaExceededException

      public QuotaExceededException(String message, Integer httpStatus, String requestId, Throwable cause)
      Creates the exception.
      Parameters:
      message - redacted message
      httpStatus - HTTP status or null
      requestId - request id or null
      cause - cause or null
  • Method Details