-
Notifications
You must be signed in to change notification settings - Fork 369
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve exception error messages #109
base: master
Are you sure you want to change the base?
Conversation
Maybe it is better to just derive from |
The thing is that the existing code is not really composable in a way that makes refactoring easy. Is C++11 allowed? If so I can make it work with |
I updated the exception classes to inherit from |
ec53ee7
to
a31c20e
Compare
I rebased my changes on the recent version and it is only one commit now. |
I deliberately caused some of the errors:
|
Is there anything I can improve or change such that this will be merged? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry for the long delay. :-(
* Inherit exceptions from std::runtime_error * Refactor error message functions * Refactor path construction functions * Add path to error messages
It has been a long time but I took I few minutes trying to get this done. So, I guess better late than never. Let me know if you want anything changed (even small details). |
Proposed improvement to #108. Let me know what you think about it or if that's something you don't want to change.