Invoked when the HTTP request has failed and no data was received or deserialization failed

Property definitions

app $ AsyncHttpRequest :: on_fail
	# Invoked when the HTTP request has failed and no data was received or deserialization failed
	fun on_fail(error: Error) do print_error "HTTP request '{uri}' failed with: {error}"
lib/app/http_request.nit:135,2--136,85

app $ MyHttpRequest :: on_fail
	redef fun on_fail(error)
	do win.label_response.text = "Connection error: {error}"
lib/app/examples/http_request_example.nit:54,2--55,57