View source: R/download_resources.R
fhir_recent_http_error | R Documentation |
fhir_search()
Whenever a call to fhir_search()
produces any http error, the error information is saved internally
until the next http error occurs (or the R session ends). The error information can be accessed with fhir_recent_http_error
.
If you want to log that information outside of your R session, set the argument log_errors
of fhir_search()
.
fhir_recent_http_error()
A string containing the error message
fhir_search()
## Not run:
fhir_search("https://server.fire.ly/Medicatio", max_bundles = 1)
cat(fhir_recent_http_error())
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.