payload: {"action":"created","issue":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11076","repository_url":"https://api.github.com/repos/PowerShell/PowerShell","labels_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11076/labels{/name}","comments_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11076/comments","events_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11076/events","html_url":"https://github.com/PowerShell/PowerShell/pull/11076","id":523092372,"node_id":"MDExOlB1bGxSZXF1ZXN0MzQxMTY2MDQ0","number":11076,"title":"Add `ExceptionType` member to Exceptions for `Get-Error`","user":{"login":"SteveL-MSFT","id":11859881,"node_id":"MDQ6VXNlcjExODU5ODgx","avatar_url":"https://avatars1.githubusercontent.com/u/11859881?v=4","gravatar_id":"","url":"https://api.github.com/users/SteveL-MSFT","html_url":"https://github.com/SteveL-MSFT","followers_url":"https://api.github.com/users/SteveL-MSFT/followers","following_url":"https://api.github.com/users/SteveL-MSFT/following{/other_user}","gists_url":"https://api.github.com/users/SteveL-MSFT/gists{/gist_id}","starred_url":"https://api.github.com/users/SteveL-MSFT/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SteveL-MSFT/subscriptions","organizations_url":"https://api.github.com/users/SteveL-MSFT/orgs","repos_url":"https://api.github.com/users/SteveL-MSFT/repos","events_url":"https://api.github.com/users/SteveL-MSFT/events{/privacy}","received_events_url":"https://api.github.com/users/SteveL-MSFT/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"TravisEz13","id":10873629,"node_id":"MDQ6VXNlcjEwODczNjI5","avatar_url":"https://avatars1.githubusercontent.com/u/10873629?v=4","gravatar_id":"","url":"https://api.github.com/users/TravisEz13","html_url":"https://github.com/TravisEz13","followers_url":"https://api.github.com/users/TravisEz13/followers","following_url":"https://api.github.com/users/TravisEz13/following{/other_user}","gists_url":"https://api.github.com/users/TravisEz13/gists{/gist_id}","starred_url":"https://api.github.com/users/TravisEz13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravisEz13/subscriptions","organizations_url":"https://api.github.com/users/TravisEz13/orgs","repos_url":"https://api.github.com/users/TravisEz13/repos","events_url":"https://api.github.com/users/TravisEz13/events{/privacy}","received_events_url":"https://api.github.com/users/TravisEz13/received_events","type":"User","site_admin":false},"assignees":[{"login":"TravisEz13","id":10873629,"node_id":"MDQ6VXNlcjEwODczNjI5","avatar_url":"https://avatars1.githubusercontent.com/u/10873629?v=4","gravatar_id":"","url":"https://api.github.com/users/TravisEz13","html_url":"https://github.com/TravisEz13","followers_url":"https://api.github.com/users/TravisEz13/followers","following_url":"https://api.github.com/users/TravisEz13/following{/other_user}","gists_url":"https://api.github.com/users/TravisEz13/gists{/gist_id}","starred_url":"https://api.github.com/users/TravisEz13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TravisEz13/subscriptions","organizations_url":"https://api.github.com/users/TravisEz13/orgs","repos_url":"https://api.github.com/users/TravisEz13/repos","events_url":"https://api.github.com/users/TravisEz13/events{/privacy}","received_events_url":"https://api.github.com/users/TravisEz13/received_events","type":"User","site_admin":false}],"milestone":null,"comments":1,"created_at":"2019-11-14T20:39:45Z","updated_at":"2019-11-14T23:07:18Z","closed_at":null,"author_association":"MEMBER","pull_request":{"url":"https://api.github.com/repos/PowerShell/PowerShell/pulls/11076","html_url":"https://github.com/PowerShell/PowerShell/pull/11076","diff_url":"https://github.com/PowerShell/PowerShell/pull/11076.diff","patch_url":"https://github.com/PowerShell/PowerShell/pull/11076.patch"},"body":"<!-- Anything that looks like this is a comment and can't be seen after the Pull Request is created. -->\r\n\r\n# PR Summary\r\n\r\nFor `Get-Error` cmdlet, if the object (or nested object) is an Exception, we add an `ExceptionType` property 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.\r\n\r\nExample:\r\n\r\n```powershell\r\nPS> 1/0\r\nRuntimeException: Attempted to divide by zero.\r\nPS> gerr\r\n\r\nException             :\r\n    ExceptionType  : System.Management.Automation.RuntimeException\r\n    ErrorRecord    :\r\n        Exception             :\r\n            ExceptionType : System.Management.Automation.ParentContainsErrorRecordException\r\n            Message       : Attempted to divide by zero.\r\n            HResult       : -2146233087\r\n        CategoryInfo          : NotSpecified: (:) [], ParentContainsErrorRecordException\r\n        FullyQualifiedErrorId : RuntimeException\r\n        InvocationInfo        :\r\n            ScriptLineNumber : 1\r\n            OffsetInLine     : 1\r\n            HistoryId        : -1\r\n            Line             : 1/0\r\n            PositionMessage  : At line:1 char:1\r\n                               + 1/0\r\n                               + ~~~\r\n            CommandOrigin    : Internal\r\n        ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1\r\n    TargetSite     :\r\n        Name          : Divide\r\n        DeclaringType : System.Management.Automation.IntOps\r\n        MemberType    : Method\r\n        Module        : System.Management.Automation.dll\r\n    StackTrace     :\r\n   at System.Management.Automation.IntOps.Divide(Int32 lhs, Int32 rhs) in /Users/steve/repos/PowerShell/src/System.Management.Automation/engine/runtime/Operations/NumericOps.cs:line 61\r\n   at System.Dynamic.UpdateDelegates.UpdateAndExecute2[T0,T1,TRet](CallSite site, T0 arg0, T1 arg1)\r\n   at System.Management.Automation.Interpreter.DynamicInstruction`3.Run(InterpretedFrame frame) in /Users/steve/repos/PowerShell/src/System.Management.Automation/engine/interpreter/DynamicInstructions.Generated.cs:line 166\r\n   at System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame) in /Users/steve/repos/PowerShell/src/System.Management.Automation/engine/interpreter/ControlFlowInstructions.cs:line 357\r\n    Message        : Attempted to divide by zero.\r\n    Data           : System.Collections.ListDictionaryInternal\r\n    InnerException :\r\n        ExceptionType : System.DivideByZeroException\r\n        Message       : Attempted to divide by zero.\r\n        HResult       : -2147352558\r\n    Source         : System.Management.Automation\r\n    HResult        : -2146233087\r\nCategoryInfo          : NotSpecified: (:) [], RuntimeException\r\nFullyQualifiedErrorId : RuntimeException\r\nInvocationInfo        :\r\n    ScriptLineNumber : 1\r\n    OffsetInLine     : 1\r\n    HistoryId        : -1\r\n    Line             : 1/0\r\n    PositionMessage  : At line:1 char:1\r\n                       + 1/0\r\n                       + ~~~\r\n    CommandOrigin    : Internal\r\nScriptStackTrace      : at <ScriptBlock>, <No file>: line 1\r\n```\r\n\r\n## PR Checklist\r\n\r\n- [x] [PR has a meaningful title](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n    - Use the present tense and imperative mood when describing your changes\r\n- [x] [Summarized changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n- [x] [Make sure all `.h`, `.cpp`, `.cs`, `.ps1` and `.psm1` files have the correct copyright header](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n- [x] This PR is ready to merge and is not [Work in Progress](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress).\r\n    - If the PR is work in progress, please add the prefix `WIP:` or `[ WIP ]` to the beginning of the title (the `WIP` bot will keep its status check at `Pending` while the prefix is present) and remove the prefix when the PR is ready.\r\n- **[Breaking changes](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes)**\r\n    - [x] None\r\n    - **OR**\r\n    - [ ] [Experimental feature(s) needed](https://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md)\r\n        - [ ] Experimental feature name(s): <!-- Experimental feature name(s) here -->\r\n- **User-facing changes**\r\n    - [ ] Not Applicable\r\n    - **OR**\r\n    - [x] [Documentation needed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission)\r\n        - [ ] Issue filed: <!-- Number/link of that issue here -->\r\n- **Testing - New and feature**\r\n    - [ ] N/A or can only be tested interactively\r\n    - **OR**\r\n    - [x] [Make sure you've added a new test if existing tests do not effectively test the code changed](https://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting)\r\n- **Tooling**\r\n    - [x] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.\r\n    - **OR**\r\n    - [ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary. This may include:\r\n        - Impact on [PowerShell Editor Services](https://github.com/PowerShell/PowerShellEditorServices) which is used in the [PowerShell extension](https://github.com/PowerShell/vscode-powershell) for VSCode (which runs in a different PS Host).\r\n        - Impact on Completions (both in the console and in editors) - one of PowerShell's most powerful features.\r\n        - Impact on [PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) (which provides linting & formatting in the editor extensions).\r\n        - Impact on [EditorSyntax](https://github.com/PowerShell/EditorSyntax) (which provides syntax highlighting with in VSCode, GitHub, and many other editors).\r\n"},"comment":{"url":"https://api.github.com/repos/PowerShell/PowerShell/issues/comments/554125905","html_url":"https://github.com/PowerShell/PowerShell/pull/11076#issuecomment-554125905","issue_url":"https://api.github.com/repos/PowerShell/PowerShell/issues/11076","id":554125905,"node_id":"MDEyOklzc3VlQ29tbWVudDU1NDEyNTkwNQ==","user":{"login":"PoshChan","id":47263765,"node_id":"MDQ6VXNlcjQ3MjYzNzY1","avatar_url":"https://avatars3.githubusercontent.com/u/47263765?v=4","gravatar_id":"","url":"https://api.github.com/users/PoshChan","html_url":"https://github.com/PoshChan","followers_url":"https://api.github.com/users/PoshChan/followers","following_url":"https://api.github.com/users/PoshChan/following{/other_user}","gists_url":"https://api.github.com/users/PoshChan/gists{/gist_id}","starred_url":"https://api.github.com/users/PoshChan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PoshChan/subscriptions","organizations_url":"https://api.github.com/users/PoshChan/orgs","repos_url":"https://api.github.com/users/PoshChan/repos","events_url":"https://api.github.com/users/PoshChan/events{/privacy}","received_events_url":"https://api.github.com/users/PoshChan/received_events","type":"User","site_admin":false},"created_at":"2019-11-14T23:07:18Z","updated_at":"2019-11-14T23:07:18Z","author_association":"COLLABORATOR","body":"@TravisEz13, this is the reminder you requested 1 hour ago"}}
other: {"actor":{"display_login":"PoshChan"}}