UNPKG

@envelop/rate-limiter

Version:

This plugins uses [`graphql-rate-limit`](https://github.com/teamplanes/graphql-rate-limit#readme) in order to limit the rate of calling queries and mutations.

12 lines (11 loc) 339 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.RateLimitError = void 0; class RateLimitError extends Error { isRateLimitError = true; constructor(message) { super(message); Object.setPrototypeOf(this, RateLimitError.prototype); } } exports.RateLimitError = RateLimitError;