From c58de20dacdebfbbda2e0f00b604661139002f61 Mon Sep 17 00:00:00 2001 From: Matt Kaschula Date: Thu, 19 Sep 2024 16:05:47 +0100 Subject: [PATCH] chore: Add channel state error codes and messages --- protocol/errors.json | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/protocol/errors.json b/protocol/errors.json index 46a8c53..8c9d9a2 100644 --- a/protocol/errors.json +++ b/protocol/errors.json @@ -182,6 +182,17 @@ "91004": "unable to automatically re-enter presence channel", "91005": "presence state is out of sync", "91100": "member implicitly left presence channel (connection closed)", + "92000": "Invalid message type: state type required", + "92001": "Channel state max objects limit exceeded", + "92002": "State message(s) required", + "92003": "Invalid state message", + "92004": "State messages do not support form encoding", + "92005": "State operation required", + "92006": "Invalid operation", + "92007": "Invalid map operation", + "92008": "Invalid counter operation", + "92009": "State object required", + "92010": "Invalid state object", "101000": "must have a non-empty name for the space", "101001": "must enter a space to perform this operation",