public class BrowserException extends Exception:
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.
error = BrowserException("Unsupported resource scheme")
print(error.message)| Modifier and Type | Member | Description |
|---|---|---|
| public readonly property | statusCodestatusCode as Int |
HTTP status associated with the failure, or 0 for non-HTTP failures. |
| Modifier and Type | Member | Description |
|---|---|---|
| public | BrowserExceptionBrowserException(message as String = "", statusCode as Int = 0): |
Creates a browser exception. |