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

[JS] Chore: Make every throw in the repo a GenkitError #1656

Open
mbleigh opened this issue Jan 24, 2025 · 0 comments
Open

[JS] Chore: Make every throw in the repo a GenkitError #1656

mbleigh opened this issue Jan 24, 2025 · 0 comments

Comments

@mbleigh
Copy link
Collaborator

mbleigh commented Jan 24, 2025

It would be great if we could consistently use GenkitError for every error message we throw throughout the repo so that we can better document it. I'd also recommend we add maybe a "scope" property that can be used to identify the plugin or other area an error is coming from.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: No status
Development

No branches or pull requests

1 participant