Return error codes for dependencies failure
The goal of these change is to allow the WinGetValidateManifestV3 to return dependencies failure as error code for programmatic usage. This prevents the need to parse strings to decode the different failure types associated with dependences.
Changes:
- Use localized messages for validation errors.
- Parse exceptions to decode failure types and surface that to the caller.
Microsoft Reviewers: Open in CodeFlow
Note to other reviewers: The main goal of the change was to get the specifics of the errors out of the function, but I suggested that it be done this way in order to move 1 step closer to actually localizing these messages (and any/all others in common).
@hackean-msft this pull request has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 7 days of this comment.