Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Add MSError model #34

@tobihagemann

Description

@tobihagemann

I noticed that there isn't a way to handle errors out of the box. Basically, you have to deserialize the JSON data "manually" if the response's status code is 4xx or 5xx. I think it would simplify error handling if an MSError model was added.

Maybe it would be even useful to add something like MSErrorCode as an enum to map the code property. Even though the suggested name could be confused with MSErrorCodes of microsoftgraph/msgraph-sdk-objc.
AB#7054

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions