BrowserNavigationErrorEvent
class in package klyn.gui.windows.browser

    public class BrowserNavigationErrorEvent extends GuiEvent:

Event
└ GuiEvent
└ BrowserNavigationErrorEvent

Describes a browser navigation failure.

Example

    browser.navigationFailed += lambda(event: BrowserNavigationErrorEvent): print(event.message)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | message `message as String` | Human-readable failure description.
public readonly property | statusCode `statusCode as Int` | HTTP status code, or `0` for non-HTTP failures.
public readonly property | url `url as String` | URL that could not be loaded.

Inherited Properties
property Inherited Properties from Event: source, timestamp
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | BrowserNavigationErrorEvent `BrowserNavigationErrorEvent(source as Object, url as String, message as String, statusCode as Int = 0):` | Creates a browser navigation error event.