ValidationError
public struct ValidationError : LocalizedError
Describes a validation error.
-
A localized message describing what error occurred.
Declaration
Swift
public var errorDescription: String? { get }
-
Initialize a new
ValidationError
instance.Declaration
Swift
public init(description: String)
Parameters
description
The description of the error.