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

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

Description

@markfinal

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.

Metadata

Metadata

Assignees

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions