FailedPolicy

@objc(FRFailedPolicy)
public class FailedPolicy : NSObject

FailedPolicy that describes reason, and additional information for user input validation failure

Property

  • Failed policy parameter that explains specific requirement, and reason for failure

    Declaration

    Swift

    @objc
    public var params: [String : Any]?
  • Policy requirement that states specific policy that failed

    Declaration

    Swift

    @objc
    public var policyRequirement: String

Public

  • Generates, and returns human readable failed reason

    Declaration

    Swift

    @objc
    public func failedDescription() -> String

    Return Value

    String value of human readable failed policy