UNPKG

fnbr

Version:

A library to interact with Epic Games' Fortnite HTTP and XMPP services

18 lines 576 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Represents an error thrown because a friendship already exists */ class DuplicateFriendshipError extends Error { /** * @param query The query which resulted in this error */ constructor(query) { super(); this.name = 'DuplicateFriendshipError'; this.message = `The user "${query}" is already friends with the client`; this.query = query; } } exports.default = DuplicateFriendshipError; //# sourceMappingURL=DuplicateFriendshipError.js.map