Class WKErrorCode


  • public final class WKErrorCode
    extends java.lang.Object
    [@enum] WKErrorCode 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.
    • Field Detail

      • WebContentProcessTerminated

        public static final long WebContentProcessTerminated
        See Also:
        Constant Field Values
      • JavaScriptExceptionOccurred

        public static final long JavaScriptExceptionOccurred
        See Also:
        Constant Field Values
      • JavaScriptResultTypeIsUnsupported

        public static final long JavaScriptResultTypeIsUnsupported
        See Also:
        Constant Field Values
      • ContentRuleListStoreCompileFailed

        public static final long ContentRuleListStoreCompileFailed
        See Also:
        Constant Field Values
      • ContentRuleListStoreLookUpFailed

        public static final long ContentRuleListStoreLookUpFailed
        See Also:
        Constant Field Values
      • ContentRuleListStoreRemoveFailed

        public static final long ContentRuleListStoreRemoveFailed
        See Also:
        Constant Field Values
      • ContentRuleListStoreVersionMismatch

        public static final long ContentRuleListStoreVersionMismatch
        See Also:
        Constant Field Values
      • AttributedStringContentFailedToLoad

        public static final long AttributedStringContentFailedToLoad
        See Also:
        Constant Field Values
      • AttributedStringContentLoadTimedOut

        public static final long AttributedStringContentLoadTimedOut
        See Also:
        Constant Field Values
      • JavaScriptInvalidFrameTarget

        public static final long JavaScriptInvalidFrameTarget
        See Also:
        Constant Field Values
      • NavigationAppBoundDomain

        public static final long NavigationAppBoundDomain
        See Also:
        Constant Field Values
      • JavaScriptAppBoundDomain

        public static final long JavaScriptAppBoundDomain
        See Also:
        Constant Field Values