Raise an exception InvalidParameters if the validate_published_data fails
Refactor ensure_updates_parameter validator to return an array with the error message
Refactor validators to return the result and an error message
Fix specs
Add the name of the field in the exception message
Add comments
Add specs for updating a sample with a published state and taxon_id/gender mismatch
Refactoring
Bump version to 1.7.0
Improve error messages
Specs for invalid requests
Merge pull request #29 from llh1/51804253_improve_custom_error_messages

51804253 improve custom error messages