Works out which status the failure is and asks status_message() for the
wording, so it honours biohttp.status_message like everything else. Pass
http for a response that arrived, or condition for a transport failure
where none did.
Examples
http_error_message("gnomAD", http = 404L)
#> [1] "No gnomAD data was found for this query."
http_error_message("gnomAD", http = 503L)
#> [1] "gnomAD is temporarily unavailable. Please try again."
http_error_message("gnomAD", condition = simpleError("Timeout was reached"))
#> [1] "gnomAD took too long to respond. Please try again."