fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
18 lines • 606 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Represents an error that is thrown when the stomp websocket connection fails to be established
*/
class STOMPConnectionError extends Error {
/**
* @param error The error that caused the connection to fail
*/
constructor(message, statusCode) {
super();
this.name = 'STOMPConnectionError';
this.message = `Failed to connect to STOMP: ${message}`;
this.statusCode = statusCode;
}
}
exports.default = STOMPConnectionError;
//# sourceMappingURL=STOMPConnectionError.js.map