Error handling on front

Controller side :

		// Check
		if( !Validate::isPhoneNumber( $_POST['phone'] ) )
		{
			$this->errors[] = Tools::displayError('Invalid phone number');
		}
		if( !Validate::isEmail( $_POST['email'] ) )
		{
			$this->errors[] = Tools::displayError('Invalid email');
		}

		if(!empty($this->errors))
		{
			return false;
		}

Template side : make sure your have

{include file="$tpl_dir./errors.tpl"}

Involved classes : .alert, .alert-success, .alert-danger, .alert-error