MCPcopy
hub / github.com/google/uuid / Error

Method Error

uuid.go:57–59  ·  uuid.go::URNPrefixError.Error
()

Source from the content-addressed store, hash-verified

55type URNPrefixError struct { prefix string }
56
57func (e URNPrefixError) Error() string {
58 return fmt.Sprintf("invalid urn prefix: %q", e.prefix)
59}
60
61func (e URNPrefixError) Is(target error) bool {
62 _, ok := target.(URNPrefixError)

Callers 11

TestScanFunction · 0.45
TestValueFunction · 0.45
TestNullUUIDScanFunction · 0.45
TestVersion1Function · 0.45
TestNodeFunction · 0.45
TestNodeIDFunction · 0.45
TestWrongLengthFunction · 0.45
TestValidateFunction · 0.45
TestVersion6Function · 0.45
MustParseFunction · 0.45
randomBitsFunction · 0.45

Calls

no outgoing calls

Tested by 9

TestScanFunction · 0.36
TestValueFunction · 0.36
TestNullUUIDScanFunction · 0.36
TestVersion1Function · 0.36
TestNodeFunction · 0.36
TestNodeIDFunction · 0.36
TestWrongLengthFunction · 0.36
TestValidateFunction · 0.36
TestVersion6Function · 0.36