MCPcopy Create free account
hub / github.com/Rubby2001/Rshell-client / ErrorProcess

Function ErrorProcess

Reacon_websocket/pkg/communication/communication.go:13–18  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

11 "github.com/togettoyou/wsc"
12)
13
14var WebsocketClient *wsc.Wsc
15
16func ErrorProcess(err error) {
17 errMsgBytes := []byte(err.Error())
18 result := errMsgBytes
19 fmt.Println(err)
20 criticalSection(31, result)
21}

Callers 1

DataProcessFunction · 0.70

Calls 1

criticalSectionFunction · 0.70

Tested by

no test coverage detected