onerror property
Gets or sets the method to handle the onerror event.
Syntax
HRESULT value = object.put_onerror(VARIANT v);HRESULT value = object.get_onerror(VARIANT p);
Property values
Type: VARIANT
the event handler.
Remarks
The onerror event occurs when there is an error that prevents the completion of the request.
The onerror event does not occur when the IHTMLXDomainRequest::ontimeout event occurs.
Note Security note: There is no way to determine the cause or nature of the error.
See also
Reference