MCPcopy Index your code
hub / github.com/ProspectOne/perfops-cli / cmpError

Function cmpError

cmd/root_test.go:209–211  ·  view source on GitHub ↗
(a, b error)

Source from the content-addressed store, hash-verified

207}
208
209func cmpError(a, b error) bool {
210 return a == b || (a != nil && b != nil && a.Error() == b.Error())
211}
212
213type roundTripper interface {
214 RoundTrip(req *http.Request) (*http.Response, error)

Callers 1

TestChkRunErrorFunction · 0.70

Calls 1

ErrorMethod · 0.45

Tested by

no test coverage detected