-
A default error message to show if no custom error message is provided.
Declaration
Swift
public static let message: String -
Indicates whether it is a file URL or not.
Declaration
Swift
public let isFileURL: Bool -
A custom error message.
Declaration
Swift
public let message: String -
See
Constraint.Declaration
Swift
public let groups: Set<Group> -
A validator named
URLValidatorto validate a value.Declaration
Swift
public let validator: ConstraintValidator -
Initializes a new instance with a file URL flag, a custom error message, and a set of
Groups to group by.Declaration
Parameters
messageA custom error message. Defaults to the default error message.
isFileURLIndicates whether it is a file URL or not. Defaults to
false.groupsA set of
Groups to group by. Defaults to an empty set.
View on GitHub
Install in Dash