randomouscrap98 / contentapi

A generic content system to make some kinda standard websites
GNU General Public License v3.0
9 stars 2 forks source link

Update Error wiki with information about how errors happen on websocket #115

Closed randomouscrap98 closed 2 years ago

randomouscrap98 commented 2 years ago

type change to badtoken / unexpected is critical error and websocket will shutdown, don't attempt to reconnect with existing data (or fix the data given). Unexpected could simply be the id expired or could be anything else, but it means we're not servicing the websocket anymore it'll close

randomouscrap98 commented 2 years ago

Done, see https://github.com/randomouscrap98/contentapi/wiki/Errors#websocket-errors