UNPKG

rabbitmq-event-manager

Version:

A nodeJS Event Manager to emit, and listen event through RabbitMQ

15 lines 493 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); class EventManagerError extends Error { constructor(message, cause) { super(message ? message : 'EventManagerError: An error occured'); // inherited from Error this.name = 'EventManagerError'; this.cause = undefined; if (cause) { this.cause = cause; } } } exports.EventManagerError = EventManagerError; //# sourceMappingURL=EventManagerError.js.map