Interface ValidationError.Builder

  • Method Details

    • elementPath

      ValidationError.Builder elementPath(String elementPath)
      Path to the source of the error.
      Parameters:
      elementPath - Path to the source of the error.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • errorMessage

      ValidationError.Builder errorMessage(String errorMessage)
      The error message.
      Parameters:
      errorMessage - The error message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.