landstrasse
Version:
Strongly typed WAMP Client for browsers
14 lines • 434 B
JavaScript
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;
}
}
export default ConnectionOpenError;
//# sourceMappingURL=ConnectionOpenError.js.map