@gabliam/amqp
Version:
amqp plugin for gabliam
14 lines (13 loc) • 534 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.AmqpConnectionNotFoundError = void 0;
class AmqpConnectionNotFoundError extends Error {
constructor(connectionName) {
super();
this.name = 'AmqpConnectionNotFoundError';
// Set the prototype explicitly.
Object.setPrototypeOf(this, AmqpConnectionNotFoundError.prototype);
this.message = `Connection '${connectionName}' not found`;
}
}
exports.AmqpConnectionNotFoundError = AmqpConnectionNotFoundError;