MCPcopy Create free account
hub / github.com/changkun/pkg / Catch

Method Catch

errors/errors.go:23–29  ·  view source on GitHub ↗

Catch catches the error that throwed in Try call.

(handler func(interface{}, error) interface{})

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

TestTryCatchFunction · 0.80

Calls

no outgoing calls

Tested by 1

TestTryCatchFunction · 0.64