fnbr
Version:
A library to interact with Epic Games' Fortnite HTTP and XMPP services
18 lines • 596 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
/**
* Represents an error thrown because a creative island does not exist
*/
class CreativeIslandNotFoundError extends Error {
/**
* @param query The query which resulted in this error
*/
constructor(query) {
super();
this.name = 'CreativeIslandNotFoundError';
this.message = `A creative island with the code "${query}" does not exist`;
this.query = query;
}
}
exports.default = CreativeIslandNotFoundError;
//# sourceMappingURL=CreativeIslandNotFoundError.js.map