UNPKG

fnbr

Version:

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

18 lines 621 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Represents an error that is thrown when the XMPP connection timeout has been exceeded */ class XMPPConnectionTimeoutError extends Error { /** * @param timeoutMs The timeout in milliseconds */ constructor(timeoutMs) { super(); this.name = 'XMPPConnectionTimeoutError'; this.message = `The XMPP connection timeout of ${timeoutMs}ms has been exceeded`; this.timeoutMs = timeoutMs; } } exports.default = XMPPConnectionTimeoutError; //# sourceMappingURL=XMPPConnectionTimeoutError.js.map