.transient_errors {nixtlar} | R Documentation |
A function used by httr2::req_retry() to determine if the response represents a transient error This is a private function of 'nixtlar'
Description
A function used by httr2::req_retry() to determine if the response represents a transient error This is a private function of 'nixtlar'
Usage
.transient_errors(resp)
Arguments
resp |
The response to a HTTP request |
Value
TRUE if the response status is 500 or 502, FALSE otherwise.
Examples
## Not run:
.transient_errors(resp)
## End(Not run)
[Package nixtlar version 0.6.2 Index]