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

Error with context #402

Open
danakj opened this issue Oct 16, 2023 · 0 comments
Open

Error with context #402

danakj opened this issue Oct 16, 2023 · 0 comments
Labels
design Design of the library systems as a whole, such as concepts

Comments

@danakj
Copy link
Collaborator

danakj commented Oct 16, 2023

Provide a context method on Error which can throw it away or use it, and implement it for Box and std::string?

Storing context is very important use case given by anyhow but C++ can't just gain it in that way, without replacing all the Error types, so we should build this into Error. (h/t @Kangz for pointing this out in dawn)

@danakj danakj added the design Design of the library systems as a whole, such as concepts label Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
design Design of the library systems as a whole, such as concepts
Projects
None yet
Development

No branches or pull requests

1 participant