onLoadError

open fun onLoadError(browser: CefBrowser, frame: CefFrame, errorCode: CefLoadHandler.ErrorCode, errorText: String, failedUrl: String)

Called when the resource load for a navigation fails or is canceled.

Parameters

browser

The corresponding browser.

frame

The frame generating the event. Instance only valid within the scope of this method.

errorCode

The error code number.

errorText

The error text.

failedUrl

The URL that failed to load.