Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose Response Headers in API exception/error [Swift] #7

Open
3 tasks
andrueastman opened this issue Apr 27, 2023 · 0 comments
Open
3 tasks

Expose Response Headers in API exception/error [Swift] #7

andrueastman opened this issue Apr 27, 2023 · 0 comments
Labels
dependency:kiota-core Awaiting fix from core dependency project module type:enhancement Enhancement request targeting an existing experience

Comments

@andrueastman
Copy link
Member

To improve the error handling experience we need to add the response headers the main api error type:

  • add a response headers field to the Api exception class
  • add corresponding accessors (if needed)
  • populate the information in the request adapter when an error is encountered

Examples
Dotnet

Java

Typescript

Go

@baywet baywet added type:enhancement Enhancement request targeting an existing experience help wanted labels Apr 27, 2023
@baywet baywet transferred this issue from microsoft/kiota Jul 23, 2024
@fey101 fey101 added dependency:kiota-core Awaiting fix from core dependency project module and removed Standard GitHub label labels Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependency:kiota-core Awaiting fix from core dependency project module type:enhancement Enhancement request targeting an existing experience
Projects
Status: Todo 📃
Development

No branches or pull requests

3 participants