MCPcopy Index your code
hub / github.com/cockroachdb/errors / Wrapper

Interface Wrapper

errutil_api.go:81–83  ·  view source on GitHub ↗

Wrapper is the type of an error wrapper.

Source from the content-addressed store, hash-verified

79
80// Wrapper is the type of an error wrapper.
81type Wrapper interface {
82 Unwrap() error
83}
84
85// Opaque aliases barrier.Handled(), for compatibility with xerrors.
86func Opaque(err error) error { return barriers.Handled(err) }

Callers 2

UnwrapOnceFunction · 0.65
UnwrapMultiFunction · 0.65

Implementers 15

werrFmtcontexttags/contexttags_test.go
withContextcontexttags/with_context.go
werrFmtbarriers/barriers_test.go
withMarkmarkers/markers.go
myMultiErrormarkers/markers_test.go
myOtherMultiErrormarkers/markers_test.go
werrFmtmarkers/markers_test.go
werrFmtsafedetails/safedetails_test.go
withSafeDetailssafedetails/with_safedetails.go
werrFmtdomains/domains_test.go
withDomaindomains/with_domain.go
werrFmtissuelink/issuelink_test.go

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…