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 .