URLConnection.Error

From Xojo Documentation

Revision as of 19:17, 30 July 2019 by Gperlman (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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