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. API-Since: 8.0
    • Field Detail

      • WebContentProcessTerminated

        public static final long WebContentProcessTerminated
        API-Since: 8.0
        See Also:
        Constant Field Values
      • WebViewInvalidated

        public static final long WebViewInvalidated
        API-Since: 8.0
        See Also:
        Constant Field Values
      • JavaScriptExceptionOccurred

        public static final long JavaScriptExceptionOccurred
        API-Since: 8.0
        See Also:
        Constant Field Values
      • JavaScriptResultTypeIsUnsupported

        public static final long JavaScriptResultTypeIsUnsupported
        API-Since: 9.0
        See Also:
        Constant Field Values
      • ContentRuleListStoreCompileFailed

        public static final long ContentRuleListStoreCompileFailed
        API-Since: 11.0
        See Also:
        Constant Field Values
      • ContentRuleListStoreLookUpFailed

        public static final long ContentRuleListStoreLookUpFailed
        API-Since: 11.0
        See Also:
        Constant Field Values
      • ContentRuleListStoreRemoveFailed

        public static final long ContentRuleListStoreRemoveFailed
        API-Since: 11.0
        See Also:
        Constant Field Values
      • ContentRuleListStoreVersionMismatch

        public static final long ContentRuleListStoreVersionMismatch
        API-Since: 11.0
        See Also:
        Constant Field Values
      • AttributedStringContentFailedToLoad

        public static final long AttributedStringContentFailedToLoad
        API-Since: 13.0
        See Also:
        Constant Field Values
      • AttributedStringContentLoadTimedOut

        public static final long AttributedStringContentLoadTimedOut
        API-Since: 13.0
        See Also:
        Constant Field Values
      • JavaScriptInvalidFrameTarget

        public static final long JavaScriptInvalidFrameTarget
        API-Since: 14.0
        See Also:
        Constant Field Values
      • NavigationAppBoundDomain

        public static final long NavigationAppBoundDomain
        API-Since: 14.0
        See Also:
        Constant Field Values
      • JavaScriptAppBoundDomain

        public static final long JavaScriptAppBoundDomain
        API-Since: 14.0
        See Also:
        Constant Field Values
      • DuplicateCredential

        public static final long DuplicateCredential
        API-Since: 16.0
        See Also:
        Constant Field Values
      • MalformedCredential

        public static final long MalformedCredential
        API-Since: 16.0
        See Also:
        Constant Field Values
      • CredentialNotFound

        public static final long CredentialNotFound
        API-Since: 16.0
        See Also:
        Constant Field Values