response::error_stringThis attribute stores HTTP request error string
field error_string
import url
response = url.get("https://invalid-address")
writer(response.error_string) ' Prints "Couldn't resolve host name"
response = url.get("https://example.com/")
writer(response.error_string) ' Prints ""