@zikeji/hypixel
Version:
With IntelliSense support & test coverage, this is an unopinionated async/await API wrapper for Hypixel's Public API. It is developed in TypeScript complete with documentation, typed interfaces for all API responses, built-in rate-limit handling, flexible
15 lines • 485 B
JavaScript
;
/* istanbul ignore file */
Object.defineProperty(exports, "__esModule", { value: true });
exports.RateLimitError = void 0;
class RateLimitError extends Error {
/**
* Ignore this for code coverage as reproducing a real rate limit error is difficult.
*/
constructor(message) {
super(message);
Object.setPrototypeOf(this, RateLimitError.prototype);
}
}
exports.RateLimitError = RateLimitError;
//# sourceMappingURL=RateLimitError.js.map