You are viewing a single comment's thread. Return to all comments →
There are other kinds, which you can read about here. Instead of runtime_error, I would have thrown invalid_argument.
Seems like cookies are disabled on this browser, please enable them to open this website
Day 17: More Exceptions
You are viewing a single comment's thread. Return to all comments →
There are other kinds, which you can read about here. Instead of runtime_error, I would have thrown invalid_argument.