UNPKG

rate-limiter-flexible

Version:

Node.js atomic and non-atomic counters, rate limiting tools, protection from DoS and brute-force attacks at scale

11 lines (10 loc) 303 B
module.exports = class RateLimiterEtcdTransactionFailedError extends Error { constructor(message) { super(); if (Error.captureStackTrace) { Error.captureStackTrace(this, this.constructor); } this.name = 'RateLimiterEtcdTransactionFailedError'; this.message = message; } };