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

Function getFullTypeName

errbase/encode.go:263–267  ·  view source on GitHub ↗
(err error)

Source from the content-addressed store, hash-verified

261}
262
263func getFullTypeName(err error) string {
264 t := reflect.TypeOf(err)
265 pkgPath := getPkgPath(t)
266 return makeTypeKey(pkgPath, t.String())
267}
268
269func makeTypeKey(pkgPath, typeNameString string) string {
270 return pkgPath + "/" + typeNameString

Callers 2

RegisterTypeMigrationFunction · 0.85
getTypeDetailsFunction · 0.85

Calls 3

getPkgPathFunction · 0.85
makeTypeKeyFunction · 0.85
StringMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…