Add Type member to Exceptions containing type of exception for Get-Error#11076
Merged
TravisEz13 merged 4 commits intoPowerShell:masterfrom Nov 22, 2019
Merged
Conversation
PoshChan
reviewed
Nov 14, 2019
...stem.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs
Show resolved
Hide resolved
Member
|
@PoshChan Please remind me in 1 hour |
PoshChan
reviewed
Nov 14, 2019
...stem.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs
Show resolved
Hide resolved
Collaborator
|
@TravisEz13, this is the reminder you requested 1 hour ago |
Member
|
@PoshChan Please remind me in 1 hour |
Collaborator
|
@TravisEz13, this is the reminder you requested 1 hour ago |
iSazonov
approved these changes
Nov 15, 2019
adityapatwardhan
approved these changes
Nov 16, 2019
Member
Author
|
changed property name from |
PoshChan
reviewed
Nov 19, 2019
...stem.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs
Show resolved
Hide resolved
ExceptionType member to Exceptions for Get-ErrorType member to Exceptions containing type of exception for Get-Error
PoshChan
reviewed
Nov 19, 2019
...stem.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cs
Show resolved
Hide resolved
Member
Author
|
@PoshChan please retry windows |
Member
Author
|
CodeFactor issue is by-design |
Collaborator
|
@SteveL-MSFT, successfully started retry of |
|
🎉 Handy links: |
22 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
PR Summary
For
Get-Errorcmdlet, if the object (or nested object) is an Exception, we add anExceptionTypeproperty that has the full type name. The Exception type is useful information and this change doesn't require the user to explore the error object to get it.Example:
PR Checklist
.h,.cpp,.cs,.ps1and.psm1files have the correct copyright headerWIP:or[ WIP ]to the beginning of the title (theWIPbot will keep its status check atPendingwhile the prefix is present) and remove the prefix when the PR is ready.