UNPKG

@gabliam/amqp

Version:
14 lines (13 loc) 512 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AmqpQueueDoesntExistError = void 0; class AmqpQueueDoesntExistError extends Error { constructor(queueName) { super(); this.name = 'AmqpQueueDoesntExistError'; // Set the prototype explicitly. Object.setPrototypeOf(this, AmqpQueueDoesntExistError.prototype); this.message = `Queue "${queueName}" doesn't exist.`; } } exports.AmqpQueueDoesntExistError = AmqpQueueDoesntExistError;