UNPKG

rate-limiter-flexible

Version:

Node.js rate limiter by key and protection from DDoS and Brute-Force attacks in process Memory, Redis, MongoDb, Memcached, MySQL, PostgreSQL, Cluster or PM

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; } };