Skip to content

generation - Ruby - Add ResponseStatusCode to API error/exception #70

Closed

Description

@baywet

related to microsoft/kiota#2216
To improve the error handling experience we need to add the status code the the main api error type:

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

Examples
microsoft/kiota-dotnet#68
microsoft/kiota-http-dotnet#82

Activity

  1. changed the title [-]Ruby - Add ResponseStatusCode to API error/exception[/-] [+]generation - Ruby - Add ResponseStatusCode to API error/exception[/+] on Jun 17, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestrubyPull requests that update Ruby code

    Type

    No type

    Projects

    • Status
      Done ✔️

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions