commit | 2c989370da85e5e6416c0a109273c22cca72d28a | [log] [tgz] |
---|---|---|
author | Mike Burrows <m3b@google.com> | Tue Mar 31 18:06:39 2015 -0700 |
committer | Mike Burrows <m3b@google.com> | Tue Mar 31 18:06:42 2015 -0700 |
tree | 33e187012f4c9c0d5a946f018b66bdae999b96a2 | |
parent | 87393e6e8bae07277fe8b60def9c454a649545b6 [diff] |
v.io/x/ref/lib/stats: Use verror instead of fmt.Errorf or errors.New This change replaces uses of fmt.Errorf and errors.New in lib/stats/... with verror, and fixes up the dependencies. The format strings are largely the same: verror.NoExist is used instead of stats.ErrNotFound, and stats.ErrNoValue (from services/mgmt/stats) is used instead of stats.ErrNoValue Tested: cd v.io v23 go test ./... v23 test run vanadium-go-test Change-Id: I8459ce235b6bbd6c551dbb9cdd45b2116970a8ef