.transient_errors | 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'
.transient_errors(resp)
resp |
The response to a HTTP request |
TRUE if the response status is 500 or 502, FALSE otherwise.
## Not run:
.transient_errors(resp)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.