BrowserException
class in package klyn.gui.windows.browser

    public class BrowserException extends Exception:

Object
└ Exception
└ BrowserException

Reports a browser resource, parsing, layout, or script error.

Browser failures are exposed through `BrowserWidget.navigationFailed`; this exception is primarily useful to custom resource loaders and tooling.

Example

    error = BrowserException("Unsupported resource scheme")
    print(error.message)

Properties

Modifier and Type | Member | Description
--- | --- | ---
public readonly property | statusCode `statusCode as Int` | HTTP status associated with the failure, or `0` for non-HTTP failures.

Inherited Properties
property Inherited Properties from Exception: message
property Inherited Properties from Object: type
Constructors

Modifier and Type | Member | Description
--- | --- | ---
public | BrowserException `BrowserException(message as String = "", statusCode as Int = 0):` | Creates a browser exception.

Inherited Methods
method Inherited Methods from Exception: toString
method Inherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml