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

Function init

fmttests/format_error_test.go:696–699  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

694}
695
696func init() {
697 errbase.RegisterWrapperEncoderWithMessageType(errbase.GetTypeKey(&werrWithElidedCause{}), encodeWithElidedCause)
698 errbase.RegisterWrapperDecoder(errbase.GetTypeKey(&werrWithElidedCause{}), decodeWithElidedCause)
699}
700
701type werrMigrated struct {
702 cause error

Callers

nothing calls this directly

Calls 6

GetTypeKeyFunction · 0.92
RegisterWrapperDecoderFunction · 0.92
RegisterTypeMigrationFunction · 0.92

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…