Interface FieldRuleError


public interface FieldRuleError
Provides methods to retrieve the error type and message associated with a field rule.
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns a human-readable error message.
    The item error type of the fieldrule.
  • Method Details

    • getType

      ItemErrorType getType()
      The item error type of the fieldrule.

      An error message of this form can be used to make programmatic decisions.

      Returns:
      the error type, which is one of the types available in the ItemErrorType enum
    • getMessage

      String getMessage()
      Returns a human-readable error message.

      An error message of this form should not be used to make programmatic decisions.

      Returns:
      a non-null, human-readable error message