docs: spelling: etc.
Signed-off-by: Josh Soref <jsoref@users.noreply.github.com>
This commit is contained in:
parent
e4a87f772f
commit
3e1cb8302a
28 changed files with 36 additions and 36 deletions
|
@ -219,7 +219,7 @@ func shouldRetry(resp *http.Response, err error) (bool, error) {
|
|||
// Check if it is an api.Error
|
||||
if apiErr, ok := err.(*api.Error); ok {
|
||||
// See https://docs.pcloud.com/errors/ for error treatment
|
||||
// Errors are classified as 1xxx, 2xxx etc
|
||||
// Errors are classified as 1xxx, 2xxx, etc.
|
||||
switch apiErr.Result / 1000 {
|
||||
case 4: // 4xxx: rate limiting
|
||||
doRetry = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue