MCPcopy Create free account
hub / github.com/algolia/cli / Unwrap

Method Unwrap

pkg/telemetry/events_test.go:19–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17
18func (e testWrapperError) Error() string { return "wrap" }
19func (e testWrapperError) Unwrap() error { return e.inner }
20
21func TestErrorClass_SkipsFmtWrappers(t *testing.T) {
22 wrapped := fmt.Errorf("outer: %w", fmt.Errorf("inner: %w", testRootError{}))

Callers 1

ErrorClassFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected