URLConnection.Error

From Xojo Documentation

Event


URLConnection.Error(e As RuntimeException)

Supported for all project types and targets.

Called when an HTTP error occurs.

Parameters

Parameter Description
e The RuntimeException for the error. You can use the Reason and ErrorNumber properties of the RuntimeException for details.

Notes

The ErrorNumber values in the err exception vary by platform. Here are links to errors by platform:

Sample Code

Display information about the error:

ErrorLabel.Value = e.Reason