onLoadFailure


Purpose

Called if the browser encounters an error while loading the contents of the URL address. Applies for each URL loaded within the browser.

Signature

onLoadFailure( url, {error} )

Returns

This method does not return anything.

Parameter

Name Description Type Use
url A target URL address. string required
error

An object, as shown below, that passes an error code and its description. Possible failure types are listed in the Constants table, in the Browser article.

{
 code,
 description
}
object optional

Related topics

addListener
Legal notice | Copyright © 2015 and Confidential to Pegasystems Inc. All rights reserved
PDN | Hybrid Container | Feedback
Advanced...