ps2census
Version:
Client to connect to the PS2 Event Stream websocket.
12 lines • 425 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.CensusServerError = void 0;
class CensusServerError extends Error {
constructor(data) {
super(data.errorMessage ?? 'Error message not supplied');
this.name = CensusServerError.name;
this.code = data.errorCode;
}
}
exports.CensusServerError = CensusServerError;
//# sourceMappingURL=census-server.error.js.map