MCPcopy
hub / github.com/perkeep/perkeep / Error

Method Error

pkg/schema/blob.go:35–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

33type MissingFieldError string
34
35func (e MissingFieldError) Error() string {
36 return fmt.Sprintf("schema: missing field %q", string(e))
37}
38
39// IsMissingField returns whether error is of type MissingFieldError.
40func IsMissingField(err error) bool {

Callers 6

TestWriteThenReadFunction · 0.45
NewUnsignedPermanodeFunction · 0.45
TestBlobFromReaderFunction · 0.45
TestAsClaimAndAsShareFunction · 0.45
TestShareExpirationFunction · 0.45
BuilderMethod · 0.45

Calls

no outgoing calls

Tested by 4

TestWriteThenReadFunction · 0.36
TestBlobFromReaderFunction · 0.36
TestAsClaimAndAsShareFunction · 0.36
TestShareExpirationFunction · 0.36