load_failed


Description:

public virtual signal bool load_failed (LoadEvent load_event, string failing_uri, Error error)

Emitted when an error occurs during a load operation.

If the error happened when starting to load data for a page load_event will be webkit_load_started . If it happened while loading a committed data source load_event will be webkit_load_committed . Since a load error causes the load operation to finish, the signal WebKitWebView:WebKitWebView:load-changed will always be emitted with webkit_load_finished event right after this one.

By default, if the signal is not handled, a stock error page will be displayed. You need to handle the signal if you want to provide your own error page.

Parameters:

load_event

the LoadEvent of the load operation

failing_uri

the URI that failed to load

error

the Error that was triggered

Returns:

true to stop other handlers from being invoked for the event. false to propagate the event further.