MCPcopy Create free account
hub / github.com/clockworklabs/SpacetimeDB / HandleWebGLError

Method HandleWebGLError

sdks/csharp/src/WebSocket.cs:566–575  ·  view source on GitHub ↗
(int socketId)

Source from the content-addressed store, hash-verified

564 }
565
566 public void HandleWebGLError(int socketId)
567 {
568 UnityEngine.Debug.Log($"HandleWebGLError: {socketId}");
569 if (socketId == _webglSocketId && OnConnectError != null)
570 {
571 _isConnecting = false;
572 _webglSocketId = -1;
573 dispatchQueue.Enqueue(() => OnConnectError(new Exception($"Socket {socketId} error.")));
574 }
575 }
576#endif
577
578 public void Update()

Callers

nothing calls this directly

Calls 1

OnConnectErrorFunction · 0.50

Tested by

no test coverage detected