A little mock validation, using PHP 5.5s yield to return all validation exceptions.