5ee6b76d41
* 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 |
||
---|---|---|
.. | ||
eestream | ||
kademlia | ||
miniogw | ||
netstate | ||
overlay | ||
paths | ||
piecestore | ||
process | ||
ranger | ||
telemetry | ||
utils | ||
.keep |