UNPKG

fnbr

Version:

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

20 lines 658 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); /** * Represents an error thrown because an event timeout was exceeded */ class EventTimeoutError extends Error { /** * @param event The query which resulted in this error * @param timeout The timeout in milliseconds */ constructor(event, timeout) { super(); this.name = 'EventTimeoutError'; this.message = `Timeout of ${timeout}ms exceeded while waiting for the event "${event}"`; this.event = event; this.timeout = timeout; } } exports.default = EventTimeoutError; //# sourceMappingURL=EventTimeoutError.js.map