ps2census
Version:
Client to connect to the PS2 Event Stream websocket.
13 lines • 472 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.StreamClosedException = void 0;
class StreamClosedException extends Error {
constructor(code, reason) {
super(`Stream closed with code ${code}: ${reason}`);
this.code = code;
this.reason = reason;
this.name = StreamClosedException.name;
}
}
exports.StreamClosedException = StreamClosedException;
//# sourceMappingURL=stream-closed.exception.js.map