jqueue
Version:
MySQL backed plugable Node.js job queue based on the Beanstalk Job Lifecycle
10 lines (9 loc) • 318 B
JavaScript
function JqueueException (message, code) {
this.name = 'JqueueException';
this.code = code;
this.message = message;
this.stack = (new Error()).stack;
}
JqueueException.prototype = Object.create(Error.prototype);
JqueueException.constructor = JqueueException;
module.exports = JqueueException;