fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
18 lines • 631 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Represents an error thrown because a friendship request has already been sent
*/
class FriendshipRequestAlreadySentError extends Error {
/**
* @param query The query which resulted in this error
*/
constructor(query) {
super();
this.name = 'FriendshipRequestAlreadySentError';
this.message = `The client already sent a friendship request to "${query}"`;
this.query = query;
}
}
exports.default = FriendshipRequestAlreadySentError;
//# sourceMappingURL=FriendshipRequestAlreadySentError.js.map