Skip to content
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

Selection of specialised exception types #1

Open
elfring opened this issue Sep 18, 2015 · 1 comment
Open

Selection of specialised exception types #1

elfring opened this issue Sep 18, 2015 · 1 comment
Assignees

Comments

@elfring
Copy link

elfring commented Sep 18, 2015

Instances of the class "std::string" are thrown at some source code places.
I suggest to reuse a more specialised data type like the exception "std::runtime_error" there. How do you think about to extend the exception class hierarchy eventually?

@breannansmith
Copy link
Owner

I agree with your suggestion, the treatment of errors is currently a bit ad-hoc. I plan to fix this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants