fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
20 lines (19 loc) • 487 B
TypeScript
/**
* Represents an error thrown because an event timeout was exceeded
*/
declare class EventTimeoutError extends Error {
/**
* The event which resulted in this error
*/
event: string;
/**
* The timeout in milliseconds
*/
timeout: number;
/**
* @param event The query which resulted in this error
* @param timeout The timeout in milliseconds
*/
constructor(event: string, timeout: number);
}
export default EventTimeoutError;