Files
Unify/framework/node_modules/node-rate-limiter-flexible/lib/component/RateLimiterQueueError.js

14 lines
317 B
JavaScript
Raw Normal View History

2025-12-25 11:16:59 +01:00
module.exports = class RateLimiterQueueError extends Error {
constructor(message, extra) {
super();
if (Error.captureStackTrace) {
Error.captureStackTrace(this, this.constructor);
}
this.name = 'CustomError';
this.message = message;
if (extra) {
this.extra = extra;
}
}
};