mudvault-mesh
Version:
Node.js client library for connecting to MudVault Mesh network
18 lines • 1.06 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ErrorCodes = void 0;
var ErrorCodes;
(function (ErrorCodes) {
ErrorCodes[ErrorCodes["INVALID_MESSAGE"] = 1000] = "INVALID_MESSAGE";
ErrorCodes[ErrorCodes["AUTHENTICATION_FAILED"] = 1001] = "AUTHENTICATION_FAILED";
ErrorCodes[ErrorCodes["UNAUTHORIZED"] = 1002] = "UNAUTHORIZED";
ErrorCodes[ErrorCodes["MUD_NOT_FOUND"] = 1003] = "MUD_NOT_FOUND";
ErrorCodes[ErrorCodes["USER_NOT_FOUND"] = 1004] = "USER_NOT_FOUND";
ErrorCodes[ErrorCodes["CHANNEL_NOT_FOUND"] = 1005] = "CHANNEL_NOT_FOUND";
ErrorCodes[ErrorCodes["RATE_LIMITED"] = 1006] = "RATE_LIMITED";
ErrorCodes[ErrorCodes["INTERNAL_ERROR"] = 1007] = "INTERNAL_ERROR";
ErrorCodes[ErrorCodes["PROTOCOL_ERROR"] = 1008] = "PROTOCOL_ERROR";
ErrorCodes[ErrorCodes["UNSUPPORTED_VERSION"] = 1009] = "UNSUPPORTED_VERSION";
ErrorCodes[ErrorCodes["MESSAGE_TOO_LARGE"] = 1010] = "MESSAGE_TOO_LARGE";
})(ErrorCodes || (exports.ErrorCodes = ErrorCodes = {}));
//# sourceMappingURL=types.js.map