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

TypeAlias TypeKey

errbase/encode.go:292–292  ·  view source on GitHub ↗

TypeKey identifies an error for the purpose of looking up decoders. It is equivalent to the "family name" in ErrorTypeMarker.

Source from the content-addressed store, hash-verified

290// TypeKey identifies an error for the purpose of looking up decoders.
291// It is equivalent to the "family name" in ErrorTypeMarker.
292type TypeKey string
293
294// GetTypeKey retrieve the type key for a given error object. This
295// is meant for use in combination with the Register functions.

Callers 7

RegisterTypeMigrationFunction · 0.85
encodeLeafFunction · 0.85
encodeWrapperFunction · 0.85
getTypeDetailsFunction · 0.85
GetTypeKeyFunction · 0.85
decodeLeafFunction · 0.85
decodeWrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected