@fnlb-project/fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
20 lines (19 loc) • 501 B
TypeScript
import { StreamError } from "@fnlb-project/stanza/dist/protocol";
/**
* Represents an error that is thrown when the XMPP connection fails to be established
*/
declare class XMPPConnectionError extends Error {
/**
* The error condition
*/
condition: string;
/**
* The (optional) error text
*/
text?: string;
/**
* @param error The error that caused the connection to fail
*/
constructor(error: StreamError);
}
export default XMPPConnectionError;