code: public function getErrorsAsString($strSeparator=null)
  	{
  		if ($strSeparator === null)
  		{
  			$strSeparator = '<br' . $this->strTagEnding . "\n";
  		}
  
  		return $this->hasErrors() ? implode($strSeparator, $this->arrErrors) : '';
  	}
docs: Return all errors as string separated by a given separator
  
  @param string $strSeparator An optional separator (defaults to "<br>")
  
  @return string The error messages string