| 1 |
\name{getCurlErrorClassNames} |
| 2 |
\alias{getCurlErrorClassNames} |
| 3 |
\title{Retrieve names of all curl error classes} |
| 4 |
\description{ |
| 5 |
This function returns the names of all of the |
| 6 |
error classes that curl can raise as a result |
| 7 |
of a request. You can use these names |
| 8 |
in calls to \code{tryCatch} |
| 9 |
to identify the class of the error for which you |
| 10 |
want to provide an error handler. |
| 11 |
} |
| 12 |
\usage{ |
| 13 |
getCurlErrorClassNames() |
| 14 |
} |
| 15 |
\value{ |
| 16 |
A character vector |
| 17 |
} |
| 18 |
\references{ |
| 19 |
libcurl documentation |
| 20 |
} |
| 21 |
\author{ |
| 22 |
Duncan Temple Lang |
| 23 |
} |
| 24 |
\seealso{ |
| 25 |
\code{\link[base]{tryCatch}} |
| 26 |
\code{\link{curlPerform}} and higher-level functions |
| 27 |
for making requests. |
| 28 |
} |
| 29 |
%\examples{} |
| 30 |
\keyword{programming} |