Election-Tech-Initiative / electionguard-cpp

A C++ implementation of ElectionGuard specification focused on encryption components.
https://www.electionguard.vote/
MIT License
23 stars 26 forks source link

Complete the conversion to exceptions in C# code #243

Closed SteveMaier-IRT closed 2 years ago

SteveMaier-IRT commented 2 years ago

Is there an existing issue for this?

Current Behavior

https://github.com/microsoft/electionguard-cpp/issues/211

The above issue was merged into the huge change for the computation tables and some of the error handling was not fully merged in. There are some of the error handling that still is writing out using Console.Writeline

Expected Behavior

All of the places where we are writing out using Console.Writeline should be changed to handle the error using an exception instead.

Steps To Reproduce

No response

Environment

- OS:

Anything else?

No response