parameters: (self)
return_statement: return '\n'.join(lst)
docstring: format the error messages from the tasks that failed
docstring_summary: format the error messages from the tasks that failed
docstring_tokens: format the error messages from the tasks that failed
function: def format_error(self):
  		"""format the error messages from the tasks that failed"""
  		lst = ['Build failed']
  		for tsk in self.tasks:
  			txt = tsk.format_error()
  			if txt: lst.append(txt)
  		return '\n'.join(lst)
function_tokens: def format_error ( self ) : lst = [ 'Build failed' ] for tsk in self . tasks : txt = tsk . format_error ( ) if txt : lst . append ( txt ) return '\n' . join ( lst )