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

Function OnConnectError

templates/chat-console-cs/Program.cs:69–72  ·  view source on GitHub ↗
(Exception e)

Source from the content-addressed store, hash-verified

67
68/// Our `OnConnectError` callback: print the error, then exit the process.
69void OnConnectError(Exception e)
70{
71 Console.Write($"Error while connecting: {e}");
72}
73
74/// Our `OnDisconnect` callback: print a note, then exit the process.
75void OnDisconnected(DbConnection conn, Exception? e)

Callers

nothing calls this directly

Calls 1

WriteMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…