@segment/analytics-next
Version:
Analytics Next (aka Analytics 2.0) is the latest version of Segment’s JavaScript SDK - enabling you to send your data to any tool without having to learn, test, or use a new API every time.
13 lines • 457 B
JavaScript
import { __extends } from "tslib";
var RateLimitError = /** @class */ (function (_super) {
__extends(RateLimitError, _super);
function RateLimitError(message, retryTimeout) {
var _this = _super.call(this, message) || this;
_this.retryTimeout = retryTimeout;
_this.name = 'RateLimitError';
return _this;
}
return RateLimitError;
}(Error));
export { RateLimitError };
//# sourceMappingURL=ratelimit-error.js.map