Log in
Model

GraphQlTooManyRequestsException

Magento\GraphQl\Model\Backpressure\GraphQlTooManyRequestsException

What it does

This exception is thrown when a GraphQL request is rate-limited or throttled due to too many requests from a client.

Developers would use this to implement backpressure mechanisms and protect the GraphQL API from being overwhelmed by excessive requests.

It provides client-safe error messages that can be safely exposed in GraphQL responses.

Public Methods

  • isClientSafe()
  • getCategory()