electionguard-api-python
electionguard-api-python copied to clipboard
implement 400 excpetion on deserialization failure
Issue
Fixes https://github.com/microsoft/electionguard-api-python/issues/99
Description
Add raise exception clause with 400 status for the deserialisation failure
Testing
Hit Post Encrypt endpoint with incorrect request model
@keithrfung please review
@gagandeepp please fix linting error
@lprichar can you please review this? If you are facing issue while reviewing please add HACKTOBERFEST-ACCEPTED label to the issue ,so that you can review this later
@lprichar please review this
@lprichar pleae review