UnexpectedValueForTypeError
open class UnexpectedValueForTypeError : Error
Encountered an unexpected value for a type in the specified context
-
Unexpected value
Declaration
Swift
public let value: String
-
Type
Declaration
Swift
public let type: String
-
Context description
Declaration
Swift
public let context: String
-
Initialize with unexpected value for type in context
Declaration
Swift
public init(value: String, type: String, context: String)
Parameters
value
Unexpected value
type
Type
context
Context description
-
Human readable description
Declaration
Swift
public var localizedDescription: String { get }