Commit Graph

7 Commits

Author SHA1 Message Date
Zac Romero
4fe0a8db4f Add integration tests; check other places where 429 could occur 2019-01-07 12:27:02 +03:00
Zac Romero
2197f76dde Add support for retries with delays (ex rate limiting) 2018-12-26 16:30:53 +01:00
Taylor Blau
013c02d010 errors/types.go: add a new UnprocessableEntityError
To indicate that we have encountered an HTTP 422, let's introduce a new
sentinel type to do just that.

It will be instantiated and returned in a subsequent commit from
tq/basic_upload.go, and then caught down in tq/transfer_queue.go.
2018-07-31 13:21:49 -05:00
Stephen Gelman
72a519397c Fix parentOf function to work with updated github.com/pkg/errors 2017-07-18 01:03:29 +00:00
Jakub Mikians
5d542d398f Move retry logic to errors.IsRetrialbeError
Also added unit tests.
2017-06-14 06:40:33 +02:00
risk danger olson
831bcc4358 errors: remove Error prefix 2016-08-19 14:03:39 -06:00
risk danger olson
b5a1c070f9 errors: split into multiple go files 2016-08-18 16:15:15 -06:00