public String getError() {
    StringBuilder strBuilder = new StringBuilder();
    for (int i = 0; i < errors.size(); i++) {
      strBuilder.append(getError(i) + " ");
    }
    return strBuilder.toString();
  }
public String getError() {
    StringBuilder strBuilder = new StringBuilder();
    for (int i = 0; i < errors.size(); i++) {
      strBuilder.append(getError(i) + " ");
    }
    return strBuilder.toString();
  }
public String getError ( ) { StringBuilder strBuilder = new StringBuilder ( ) ; for ( int i = 0 ; i < errors . size ( ) ; i ++ ) { strBuilder . append ( getError ( i ) + " " ) ; } return strBuilder . toString ( ) ; }
Gets all the errors generated by &lt;git-status&gt; command and returns them in String format.

@return <code>String</code> errors concatenated together.
Gets all the errors generated by &lt ; git - status&gt ; command and returns them in String format .