UNPKG

@gabliam/amqp

Version:
15 lines (14 loc) 490 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.AmqpConnectionError = void 0; /* istanbul ignore next */ class AmqpConnectionError extends Error { constructor() { super(); this.name = 'AmqpConnectionError'; // Set the prototype explicitly. Object.setPrototypeOf(this, AmqpConnectionError.prototype); this.message = `An error occurred on connection`; } } exports.AmqpConnectionError = AmqpConnectionError;