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

add support for error handling for ruby #1653

Closed
4 tasks done
Tracked by #1049
baywet opened this issue Jun 23, 2022 · 0 comments · Fixed by #2107
Closed
4 tasks done
Tracked by #1049

add support for error handling for ruby #1653

baywet opened this issue Jun 23, 2022 · 0 comments · Fixed by #2107
Assignees
Labels
enhancement New feature or request fixed Ruby
Milestone

Comments

@baywet
Copy link
Member

baywet commented Jun 23, 2022

related #411

To provide a better experience to SDK users, ruby

  • models generation needs to be updated to generate error types that derive from standard error types
  • request executor method generator needs to be updated to pass the error type mapping to the request adapter
  • request adapter interface needs to be updated to accept the mapping
  • request adapter implementation needs to be updated to deserialize to those error type on error status code [400, 600[
@baywet baywet added enhancement New feature or request Ruby labels Jun 23, 2022
@baywet baywet added this to the Kiota post-GA milestone Dec 6, 2022
@baywet baywet self-assigned this Dec 22, 2022
@baywet baywet linked a pull request Dec 23, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request fixed Ruby
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants