Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

Should Exceptions be adding to 'Data' rather than inner exceptions #678

Open
markfinal opened this issue Jan 2, 2020 · 0 comments
Open
Assignees

Comments

@markfinal
Copy link
Owner

https://stackoverflow.com/questions/9467599/catch-exception-add-data-and-rethrow-it
https://docs.microsoft.com/en-us/dotnet/api/system.exception.data?redirectedfrom=MSDN&view=netframework-4.8#System_Exception_Data

Could just do rethrows with extra data being added at key points.
Final catch needs to then write that out.
We should be using concrete exception types for improved meaning.

@markfinal markfinal self-assigned this Jan 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant