refactor: update error handling to support dynamic error types
This commit is contained in:
1 parent
6d2e92fb7b
commit
563d056ff7
9 files changed
+117
-46
No files matched your search
+1
-1
@@ -16,8 +16,8 @@ type OpenAIError struct {
|
||||
}
|
||||
|
||||
type ClaudeError struct {
|
||||
Message string `json:"message,omitempty"`
|
||||
Type string `json:"type,omitempty"`
|
||||
Message string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
type ErrorType string
|
||||
|
||||
Reference in new issue
Block a user