UNPKG

@palmares/events

Version:

This is the events framework for palmares, it's responsible for handling everything that is Pub/Sub like websockets, pub/sub like redis, and other types of asynchronous background tasks

17 lines (15 loc) 587 B
var __defProp = Object.defineProperty; var __name = (target, value) => __defProp(target, "name", { value, configurable: true }); // src/emitter/exceptions.ts var NotImplementedServerException = class _NotImplementedServerException extends Error { static { __name(this, "NotImplementedServerException"); } constructor(serverName, methodName) { super(`Method '${methodName}' was not implemented in '${serverName}' and it should be implemented in order to fully work.`); this.name = _NotImplementedServerException.name; } }; export { NotImplementedServerException };