landstrasse
Version:
Strongly typed WAMP Client for browsers
16 lines • 514 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
class ConnectionOpenError extends Error {
constructor(reason, message) {
super(message ? `${message} (${reason})` : reason);
Object.defineProperty(this, "reason", {
enumerable: true,
configurable: true,
writable: true,
value: void 0
});
this.reason = reason;
}
}
exports.default = ConnectionOpenError;
//# sourceMappingURL=ConnectionOpenError.js.map