onLoadFailed

fun onLoadFailed(connectFlags: <Error class: unknown class> = ConnectFlags(0u), handler: (loadEvent: LoadEvent, failingUri: String, <Error class: unknown class>) -> Boolean): <Error class: unknown class>(source)

Emitted when an error occurs during a load operation. If the error happened when starting to load data for a page

Parameters

connectFlags

a combination of ConnectFlags

handler

the Callback to connect. Params: loadEvent the #WebKitLoadEvent of the load operation; failingUri the URI that failed to load; error the #GError that was triggered. Returns true to stop other handlers from being invoked for the event. false to propagate the event further.