BrowserException
classin packageklyn.gui.windows.browser
public class BrowserException extends 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
propertyInherited Properties from Exception: message
propertyInherited 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
methodInherited Methods from Exception: toString
methodInherited Methods from Object: deepCopy, fromJson, toDict, toJson, toString, toXml