fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
18 lines • 542 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Represents an error thrown because a user set their stats to private
*/
class StatsPrivacyError extends Error {
/**
* @param user The user who set their stats to private
*/
constructor(user) {
super();
this.name = 'StatsPrivacyError';
this.message = `The user "${user}" set their stats to private`;
this.user = user;
}
}
exports.default = StatsPrivacyError;
//# sourceMappingURL=StatsPrivacyError.js.map