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

feat: add error codes to composio errors #2290

Merged

Conversation

4shub
Copy link
Collaborator

@4shub 4shub commented Dec 19, 2024

Adds some error codes to composio

@@ -243,6 +243,7 @@ def add_composio_tool(
raise HTTPException(
status_code=400, # Bad Request
detail={
"error_code": "EnumStringNotFound",
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

key name code instead of error_code to keep it consistent with the other callsites on front end and backend

Shubham Naik added 2 commits December 20, 2024 10:00
@4shub 4shub merged commit 47faa11 into main Dec 20, 2024
37 of 40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants