
Warn about failed web requests and give helpful troubleshooting tips.
Source:R/ru_setup.R
yell_if_error.Rd
Arguments
- response
A httr response object
- url
A URL (character)
- un
A username (character)
- pw
A password (character)
- pid
A project ID (numeric, optional)
- fid
A form ID (character, optional)
Details
A wrapper around httr::stop_for_status
with a more helpful error
message.
Examples: see tests for project_list
.
This function is used internally but may be useful for debugging and
ruODK
development.
See also
Other ru_settings:
odata_svc_parse()
,
ru_settings()
,
ru_setup()
,
yell_if_missing()