UNPKG

cactive

Version:

Link in to the vast and epic CactiveNetwork ecosystem.

13 lines 510 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const Errors = { INVALID_UUID: "The UUID provided is invalid (incorrect format)", INVALID_ROLE: "The role provided is invalid (invalid key)", SOCKET_ERROR: "Unable to interface with the servers websocket server", INVALID_USER: "Specified user has a null ID denoting a non-real user" }; function FetchError(error) { return new Error(Errors[error]); } exports.default = FetchError; //# sourceMappingURL=error.js.map