-
Notifications
You must be signed in to change notification settings - Fork 344
Closed
Labels
area: architectureThis item is related to general architecture of the OpenAI client library.This item is related to general architecture of the OpenAI client library.needs-author-feedbackWorkflow: More information is needed from author to address the issue.Workflow: More information is needed from author to address the issue.questionCategory: The issue is seeking information about the library or its usage.Category: The issue is seeking information about the library or its usage.
Description
Describe the feature or improvement you are requesting
Today, the client only throws a single type of exception System.ClientModel.ClientResultException and fits everything in the message property so it's hard to handle them properly. It would be great to have one exception type by error type like it's done in the python library.
Additional context
No response
Metadata
Metadata
Assignees
Labels
area: architectureThis item is related to general architecture of the OpenAI client library.This item is related to general architecture of the OpenAI client library.needs-author-feedbackWorkflow: More information is needed from author to address the issue.Workflow: More information is needed from author to address the issue.questionCategory: The issue is seeking information about the library or its usage.Category: The issue is seeking information about the library or its usage.