fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
20 lines (19 loc) • 487 B
TypeScript
import type { StreamError } from 'stanza/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;