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

[Go] Improve errors throughout by adopting GenkitError and UserFacingError #2476

Open
apascal07 opened this issue Mar 26, 2025 · 0 comments
Open
Assignees
Labels
bug Something isn't working go

Comments

@apascal07
Copy link
Collaborator

Describe the bug
Right now, we just return errors (sometimes HTTPError) throughout Genkit Go which lacks the expected status codes, no breakdown of user vs. internal errors (INVALID_ARGUMENT vs INTERNAL, etc), many cryptic errors coming straight from the plugin APIs. We also do not capture or propagate any stack trace because Go doesn't do this by default but this is very helpful for developers for libraries like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working go
Projects
Status: No status
Development

No branches or pull requests

2 participants