UNPKG

@gabliam/amqp

Version:
14 lines (13 loc) 534 B
"use strict"; 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;