getCurlErrorClassNames function

Retrieve names of all curl error classes

Retrieve names of all curl error classes

This function returns the names of all of the error classes that curl can raise as a result of a request. You can use these names in calls to tryCatch

to identify the class of the error for which you want to provide an error handler.

getCurlErrorClassNames()

Returns

A character vector

References

libcurl documentation

Author(s)

Duncan Temple Lang

See Also

tryCatch

curlPerform and higher-level functions for making requests.

  • Maintainer: CRAN Team
  • License: BSD_3_clause + file LICENSE
  • Last published: 2025-03-22

Useful links