Closed Brett208 closed 4 years ago
We can no longer return an error code from StartServer if its funcationality is moved into the constructor. Would it be fine to use exceptions instead of error codes?
I wasn't sure if we were trying to avoid exceptions.
Exceptions would be preferred over error codes.
Folding StartServer's functionality into the constructor will simplify how the class is created and tested since it will no longer be possible to call StartServer function multiple times.