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

hpx::error_code is not usable for lightweight error handling #521

Closed
hkaiser opened this issue Sep 12, 2012 · 0 comments
Closed

hpx::error_code is not usable for lightweight error handling #521

hkaiser opened this issue Sep 12, 2012 · 0 comments

Comments

@hkaiser
Copy link
Member

hkaiser commented Sep 12, 2012

hpx::error_code is not usable for lightweight error handling as it constructs an exception representing all kind of information about the execution environment at the point of construction of the error code. This is desirable to make hpx::error_code and hpx::exception semantically equivalent. At the same time, it is desirable to be able to use the error_code as a lightweight means of reporting error conditions in cases where no extensive execution environment informartion is necessary. We need to create such a facility which blends well with existing code, but which allows to inhibit the creation of the full fletched exception information while constructing the error_code.

@ghost ghost assigned hkaiser Sep 12, 2012
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

1 participant