Interface ValidationError

All Known Implementing Classes:
FieldValidationError, ValidationErrorStub

public interface ValidationError
Represents a single error containing the field name and corresponding error message
Since:
3.2.0
  • Method Summary

    Modifier and Type
    Method
    Description
    Returns the actual error message
    Returns name of the field for which this error was raised
  • Method Details

    • getFieldName

      String getFieldName()
      Returns name of the field for which this error was raised
      Returns:
      Field name
    • getErrorMessage

      String getErrorMessage()
      Returns the actual error message
      Returns:
      Error message