You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jun 5, 2025. It is now read-only.
This is related to the linked bug. But when that bug is resolved, you will still not get the experience where the exception from the plugin marshaled to Dev Home has the detailed error message that it was initially thrown with. This is because the exception is translated to an WinRT error which is an HRESULT and an error info. The latter is only used to improve diagnosability in a debugger / dump and isn't used by C# to rehydrate the exception message especially for out of proc scenarios. In addition, the error info marshaling is best effort as it is a diagnosability feature. Due to that, Dev Home shouldn't rely on the exception message in such scenarios if it needs something to show to the user.
Instead, Dev Home should have something like a Result return for such APIs and that should have some ExtendedError or similar property which plugins and Dev home can rely on to communicate known errors to display to the user.