microsoft / winget-cli

WinGet is the Windows Package Manager. This project includes a CLI (Command Line Interface), PowerShell modules, and a COM (Component Object Model) API (Application Programming Interface).
https://learn.microsoft.com/windows/package-manager/
MIT License
23.37k stars 1.45k forks source link

Add extended error codes to results without them #4858

Closed JohnMcPMS closed 1 month ago

JohnMcPMS commented 1 month ago

Change

Adds HRESULT ExtendedErrorCode{ get; }; to the FindPackagesResult and ConnectResult classes that did not have them. They work just like the other cases, exposing the raw HRESULT value from their respective operations.

Microsoft Reviewers: Open in CodeFlow