Skip to contents

[Stable]

Usage

yell_if_error(response, url, un, pw, pid = NULL, fid = NULL)

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)

Value

The response object

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.