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

Function init

hintdetail/with_hint.go:69–72  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

67}
68
69func init() {
70 errbase.RegisterWrapperEncoder(errbase.GetTypeKey((*withHint)(nil)), encodeWithHint)
71 errbase.RegisterWrapperDecoder(errbase.GetTypeKey((*withHint)(nil)), decodeWithHint)
72}

Callers

nothing calls this directly

Calls 3

RegisterWrapperEncoderFunction · 0.92
GetTypeKeyFunction · 0.92
RegisterWrapperDecoderFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…