Error

public enum Error : LocalizedError

A common error type to throw when an invalid Constraint is provided to a ConstraintValidator.

  • An error type for an invalid argument.

    Declaration

    Swift

    case invalidArgument(_: String?)

    Parameters

    message

    A custom error message. Defaults to nil.

  • See LocalizedError.

    Declaration

    Swift

    public var errorDescription: String? { get }