Http.Error object

Syntax

try {
httpRequest.send();
}
catch (httpError) {
...
}

Description

Represents an HTTP(s) error.

Properties

Property Description
[status] Status code, 404, 500 etc. 0 for connection errors.
[statusText] Status description. "Timeout" for connection timeout errors.
[headers] Response headers object.
[response] Original error response Input Stream object.

Methods

See [Error] methods.

Example

Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.