klyn.gui.windows.browser.BrowserNavigationErrorEvent.BrowserNavigationErrorEvent
constructor

    public BrowserNavigationErrorEvent(source as Object, url as String, message as String, statusCode as Int = 0):

Description

Creates a browser navigation error event.

Parameters

Parameter | Description
--- | ---
`source` | Browser that emitted the event.
`url` | URL that failed.
`message` | Failure description.
`statusCode` | HTTP status code when available.

Example

    event = BrowserNavigationErrorEvent(browser, "file:///missing.html", "File not found")