Thanks to visit codestin.com
Credit goes to github.com

Skip to content

RETRY error message #569

@ldecicco-USGS

Description

@ldecicco-USGS

I was wondering if the message for the invalidhostname example shown in the RETRY documentation is the intended result:

https://httr.r-lib.org/reference/RETRY.html

RETRY("GET", "http://invalidhostname/")
#> Error in UseMethod("http_error"): no applicable method for 'http_error' applied to an object of class "c('simpleError', 'error', 'condition')"

I had assumed it would be something more like the GET message:

GET("http://invalidhostname/")
Error in curl::curl_fetch_memory(url, handle = handle) : 
  Could not resolve host: invalidhostname

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions