Error
public enum Error : LocalizedError
A common error type thrown when an invalid Constraint
type is provided to the validate(_:against:)
method of the
ConstraintValidator
.
-
An error type for an invalid argument.
Declaration
Swift
case invalidArgument(_: String? = nil)
Parameters
message
A custom error message. Defaults to
nil
. -
See
LocalizedError
.Declaration
Swift
public var errorDescription: String? { get }