storj/pkg
JT Olio 5ee6b76d41 internal/test: switch errors to error classes (#96)
* internal/test: switch errors to error classes

if you construct an error directly at package init time, you
won't get useful stack traces or anything. zeebo/errs expects that
you always construct an error (.New) when the error actually
happens. instead, you call Class at init time, then use (Class).Has
to test for error type membership.

* fix linter

* fix test
2018-06-19 20:03:46 +02:00
..
eestream Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00
kademlia change bootstrap hardcoded value (#78) 2018-06-07 09:42:44 -04:00
miniogw light client upload file support -V3 gateway (#57) 2018-06-01 08:51:13 -04:00
netstate Cleanup & bolt-backed cache (#87) 2018-06-13 14:22:32 -04:00
overlay internal/test: switch errors to error classes (#96) 2018-06-19 20:03:46 +02:00
paths Path encryption library (#61) 2018-05-30 18:33:27 +03:00
piecestore Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00
process pkg/process: add hw metrics (#70) 2018-06-04 10:07:57 -06:00
ranger Add context to Ranger.Range method (#99) 2018-06-19 18:59:09 +03:00
telemetry change metric sending to be every minute during dev (#73) 2018-06-04 19:50:41 -06:00
utils pkg/piecestore: use readersource (#75) 2018-06-05 08:00:48 -06:00
.keep keep 2018-04-06 12:36:55 -04:00