Function to catch and print HTTP errors
catch_errors(x)
response(); a response from an HTTP request
response()
logical; return FALSE if the function finishes without detecting an error, otherwise stop the function call.
logical
FALSE