def METHOD_NAME(errors, title):
	"""
	Dump collected errors
	:param erros: error list
	:param title: optional title
	"""
	if title:
		print (title)
	if len(errors) == 0:
		print ("    (none)")
	else:
		for e in errors:
			print ("   ", e.sev, e.file, e.lineno, e.prefix) if e.prefix != None else "", e.text if e.text != None else ""