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

Function init

exthttp/ext_http.go:94–97  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92}
93
94func init() {
95 errbase.RegisterWrapperEncoder(errbase.GetTypeKey((*withHTTPCode)(nil)), encodeWithHTTPCode)
96 errbase.RegisterWrapperDecoder(errbase.GetTypeKey((*withHTTPCode)(nil)), decodeWithHTTPCode)
97}

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…