MCPcopy Create free account
hub / github.com/CPChain/chain / errResp

Function errResp

protocols/cpc/handler.go:50–52  ·  view source on GitHub ↗
(code errCode, format string, v ...interface{})

Source from the content-addressed store, hash-verified

48)
49
50func errResp(code errCode, format string, v ...interface{}) error {
51 return fmt.Errorf("%v - %v", code, fmt.Sprintf(format, v...))
52}
53
54type ProtocolManager struct {
55 networkID uint64

Callers 4

testStatusMsgErrorsFunction · 0.70
handleMsgMethod · 0.70
handleSyncMsgMethod · 0.70
readStatusMethod · 0.70

Calls

no outgoing calls

Tested by 1

testStatusMsgErrorsFunction · 0.56