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

Function DecodeError

errbase_api.go:43–43  ·  view source on GitHub ↗

DecodeError decodes an error.

(ctx context.Context, enc EncodedError)

Source from the content-addressed store, hash-verified

41
42// DecodeError decodes an error.
43func DecodeError(ctx context.Context, enc EncodedError) error { return errbase.DecodeError(ctx, enc) }
44
45// SafeDetailer is an interface that can be implemented by errors that
46// can provide PII-free additional strings suitable for reporting or

Callers 3

UnaryClientInterceptorFunction · 0.92
TestGrpcFunction · 0.92
TestHTTPFunction · 0.92

Calls 1

DecodeErrorFunction · 0.92

Tested by 2

TestGrpcFunction · 0.74
TestHTTPFunction · 0.74

Used in the wild real call sites across dependent graphs

searching dependent graphs…