Add translated messages for more connection error states (#19392)

GitOrigin-RevId: 981de624f3964ebe3ff1f0c751fcef9158864d5e
This commit is contained in:
Alf Eaton
2024-07-15 09:32:55 +00:00
committed by Copybot
parent 4b708613b6
commit 1e1a8c0bb3
8 changed files with 99 additions and 17 deletions
@@ -1,4 +1,5 @@
export type ConnectionError =
| 'io-not-loaded'
| 'maintenance'
| 'not-logged-in'
| 'out-of-sync'
@@ -7,7 +8,6 @@ export type ConnectionError =
| 'rate-limited'
| 'unable-to-connect'
| 'unable-to-join'
| 'io-not-loaded'
export type ConnectionState = {
readyState: WebSocket['CONNECTING'] | WebSocket['OPEN'] | WebSocket['CLOSED']