public final class WKErrorCode
extends java.lang.Object
Constants used by NSError to indicate errors in the WebKit domain. [@constant] WKErrorUnknown Indicates that an unknown error occurred. [@constant] WKErrorWebContentProcessTerminated Indicates that the Web Content process was terminated. [@constant] WKErrorWebViewInvalidated Indicates that the WKWebView was invalidated. [@constant] WKErrorJavaScriptExceptionOccurred Indicates that a JavaScript exception occurred. [@constant] WKErrorJavaScriptResultTypeIsUnsupported Indicates that the result of JavaScript execution could not be returned. [@constant] WKErrorContentRuleListStoreCompileFailed Indicates that compiling a WKUserContentRuleList failed. [@constant] WKErrorContentRuleListStoreLookUpFailed Indicates that looking up a WKUserContentRuleList failed. [@constant] WKErrorContentRuleListStoreRemoveFailed Indicates that removing a WKUserContentRuleList failed. [@constant] WKErrorContentRuleListStoreVersionMismatch Indicates that the WKUserContentRuleList version did not match the latest. [@constant] WKErrorAttributedStringContentFailedToLoad Indicates that the attributed string content failed to load. [@constant] WKErrorAttributedStringContentLoadTimedOut Indicates that loading attributed string content timed out. [@constant] WKErrorNavigationAppBoundDomain Indicates that a navigation failed due to an app-bound domain restriction. [@constant] WKErrorJavaScriptAppBoundDomain Indicates that JavaScript execution failed due to an app-bound domain restriction.
| Modifier and Type | Field and Description |
|---|---|
static long |
AttributedStringContentFailedToLoad |
static long |
AttributedStringContentLoadTimedOut |
static long |
ContentRuleListStoreCompileFailed |
static long |
ContentRuleListStoreLookUpFailed |
static long |
ContentRuleListStoreRemoveFailed |
static long |
ContentRuleListStoreVersionMismatch |
static long |
JavaScriptAppBoundDomain |
static long |
JavaScriptExceptionOccurred |
static long |
JavaScriptInvalidFrameTarget |
static long |
JavaScriptResultTypeIsUnsupported |
static long |
NavigationAppBoundDomain |
static long |
Unknown |
static long |
WebContentProcessTerminated |
static long |
WebViewInvalidated |
public static final long Unknown
public static final long WebContentProcessTerminated
public static final long WebViewInvalidated
public static final long JavaScriptExceptionOccurred
public static final long JavaScriptResultTypeIsUnsupported
public static final long ContentRuleListStoreCompileFailed
public static final long ContentRuleListStoreLookUpFailed
public static final long ContentRuleListStoreRemoveFailed
public static final long ContentRuleListStoreVersionMismatch
public static final long AttributedStringContentFailedToLoad
public static final long AttributedStringContentLoadTimedOut
public static final long JavaScriptInvalidFrameTarget
public static final long NavigationAppBoundDomain
public static final long JavaScriptAppBoundDomain