Skip to content

Conversation

@peombwa
Copy link
Member

@peombwa peombwa commented Jun 20, 2023

Fixes #2052

Changes proposed in this pull request

  • Adds Microsoft Graph error properties to InnerError component schema via AutoREST directive.
  • Adds GetErrorDetailsAsync methods that's called on error. The method handles formatting the error response into PowerShell's ErrorDetails object that's written to the error stream.

Other links

Service Errors Before the Change

image

Service Errors After the Change

image

@peombwa peombwa requested a review from ddyett as a code owner June 20, 2023 23:14
@peombwa peombwa self-assigned this Jun 20, 2023
@peombwa peombwa merged commit d7309c3 into features/2.0 Jun 28, 2023
@peombwa peombwa deleted the po/ServiceErrorCodeOnError branch June 28, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants