Skip to contents

This function is called whenever httr::GET returns an http status code out of the 200 range (success). Shows http_status code information alongside with additional messages returned by the API (if any).

Usage

show_http_status_and_terminate(scode, xtra = NULL)

Arguments

scode

numeric, http status code.

xtra

NULL or named list with additional information.

Value

No return, will terminate R.

Author

Reto Stauffer