MCPcopy
hub / github.com/perkeep/perkeep / Err

Method Err

pkg/search/handler.go:430–438  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

428}
429
430func (r *RecentResponse) Err() error {
431 if r.Error != "" || r.ErrorType != "" {
432 if r.ErrorType != "" {
433 return fmt.Errorf("%s: %s", r.ErrorType, r.Error)
434 }
435 return errors.New(r.Error)
436 }
437 return nil
438}
439
440// WithAttrResponse is the JSON response from $searchRoot/camli/search/permanodeattr.
441type WithAttrResponse struct {

Callers 15

EnumerateBlobsOptsMethod · 0.45
GetRecentPermanodesMethod · 0.45
GetPermanodesWithAttrMethod · 0.45
SetAttrs2Method · 0.45
LongPollMethod · 0.45
importTweetsMethod · 0.45
importTweetsFromZipMethod · 0.45
importTweetMethod · 0.45
importPhotosMethod · 0.45
updatePhotoMethod · 0.45
importBookmarksMethod · 0.45

Calls

no outgoing calls

Tested by 7

EnumerateMethod · 0.36
EnumerateItemMethod · 0.36
StreamBlobsMethod · 0.36
TestStorage_ManualFunction · 0.36
TestNoTestingLinkingFunction · 0.36
TestAndroidCamputFileFunction · 0.36
isInProcMountsFunction · 0.36