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

Function init

errbase/adapters_errno.go:62–66  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

60}
61
62func init() {
63 pKey := GetTypeKey(syscall.Errno(0))
64 RegisterLeafEncoder(pKey, encodeErrno)
65 RegisterLeafDecoder(pKey, decodeErrno)
66}

Callers

nothing calls this directly

Calls 3

GetTypeKeyFunction · 0.70
RegisterLeafEncoderFunction · 0.70
RegisterLeafDecoderFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…