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

Remove support for InstallErrorCause from SuppressedError #147

Closed
rbuckton opened this issue Jan 31, 2023 · 0 comments · Fixed by #146
Closed

Remove support for InstallErrorCause from SuppressedError #147

rbuckton opened this issue Jan 31, 2023 · 0 comments · Fixed by #146

Comments

@rbuckton
Copy link
Collaborator

Per the January 2023 plenary session, we should remove support for InstallErrorCause from the SuppressedError constructor. A SuppressedError already has two conceptual causes: the suppressing error and the suppressed error. In the case of a using declaration, a SuppressedError is only thrown when both conceptual causes are present, thus neither is definitively the "cause" of the SuppressedError.

InstallErrorCause introduces a third conceptual cause, which is an unnnecessary overcomplication. As a result, the consensus agreement is to remove support for InstallErrorCause in this case.

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