MCPcopy Create free account
hub / github.com/cockroachdb/errors / network

Function network

markers/markers_test.go:82–85  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

80func (e *fundamental) Error() string { return e.msg }
81
82func network(err error) error {
83 enc := errbase.EncodeError(context.Background(), err)
84 return errbase.DecodeError(context.Background(), enc)
85}
86
87// This test demonstrates that the equivalence
88// of errors is preserved over the network.

Calls 2

EncodeErrorFunction · 0.92
DecodeErrorFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…