UNPKG

@phnq/message

Version:

Asynchronous, incremental messaging client and server

13 lines (12 loc) 338 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.Anomaly = void 0; class Anomaly extends Error { constructor(message, info) { super(message); this.isAnomaly = true; Object.setPrototypeOf(this, Anomaly.prototype); this.info = info; } } exports.Anomaly = Anomaly;