MCPcopy Create free account
hub / github.com/bytemode/pitaya-notes / Pcall

Function Pcall

util/util.go:64–92  ·  view source on GitHub ↗

Pcall calls a method that returns an interface and an error and recovers in case of panic

(method reflect.Method, args []reflect.Value)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 3

handleRPCUserMethod · 0.92
processHandlerMessageFunction · 0.92
TestPcallFunction · 0.85

Calls 4

getLoggerFromArgsFunction · 0.85
ErrorfMethod · 0.80
DebugfMethod · 0.80
CallMethod · 0.65

Tested by 1

TestPcallFunction · 0.68