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

Function init

errutil/redactable.go:51–54  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

49}
50
51func init() {
52 errbase.RegisterLeafEncoder(errbase.GetTypeKey((*leafError)(nil)), encodeLeaf)
53 errbase.RegisterLeafDecoder(errbase.GetTypeKey((*leafError)(nil)), decodeLeaf)
54}
55
56// withPrefix is like withMessage but the
57// message can contain redactable and non-redactable parts.

Callers

nothing calls this directly

Calls 5

RegisterLeafEncoderFunction · 0.92
GetTypeKeyFunction · 0.92
RegisterLeafDecoderFunction · 0.92
RegisterWrapperEncoderFunction · 0.92
RegisterWrapperDecoderFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…