To improve how we report errors when making HTTP calls to other groupcache instances. See #59 for details on the proposal.
Implementation
Added groupcache.ErrNotFound which should be returned from an implementation of GetterFunc to indicate the requested value is not available
Added groupcache.ErrRemoteCall which is returned from group.Get() when an error that is not a ErrNotFound is returned during a remote HTTP instance call
Purpose
To improve how we report errors when making HTTP calls to other
groupcache
instances. See #59 for details on the proposal.Implementation
groupcache.ErrNotFound
which should be returned from an implementation ofGetterFunc
to indicate the requested value is not availablegroupcache.ErrRemoteCall
which is returned fromgroup.Get()
when an error that is not aErrNotFound
is returned during a remote HTTP instance call