JSErrorDomain
public enum JSErrorDomain
JavaScript execution errors.
-
The script returned an incompatible value.
Declaration
Swift
case invalidReturnType(value: Any)
-
The script was stopped because of an error.
Declaration
Swift
case executionError(NSError)
-
The script returned an unexpected result.
Declaration
Swift
case unexpectedResult
-
The expression could not be built because it is invalid.
Declaration
Swift
case invalidExpression(NSError)
-
The identifier of the error domain.
Declaration
Swift
public static var identifier: String
-
The localized description of the error.
Declaration
Swift
public var localizedDescription: String { get }
-
The error that caused this error to be thrown.
Declaration
Swift
public var underlyingError: NSError? { get }
-
The localized description of the error.
Declaration
Swift
public var errorDescription: String? { get }
-
Declaration
Swift
public static var errorDomain: String { get }
-
Declaration
Swift
public var errorCode: Int { get }
-
Declaration
Swift
public var errorUserInfo: [String : Any] { get }