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

Function init

barriers/barriers.go:146–151  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

144func (b *barrierError) Error() string { return "" }
145
146func init() {
147 errbase.RegisterLeafDecoder(errbase.GetTypeKey((*barrierError)(nil)), decodeBarrierPrev)
148 tn := errbase.GetTypeKey((*barrierErr)(nil))
149 errbase.RegisterLeafDecoder(tn, decodeBarrier)
150 errbase.RegisterLeafEncoder(tn, encodeBarrier)
151}

Callers

nothing calls this directly

Calls 3

RegisterLeafDecoderFunction · 0.92
GetTypeKeyFunction · 0.92
RegisterLeafEncoderFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…