Stay organized with collections
Save and categorize content based on your preferences.
Genkit knows about two specialized types: GenkitError and UserFacingError.
GenkitError is intended for use by Genkit itself or Genkit plugins.
UserFacingError is intended for ContextProviders and
your code. The separation between these two error types helps you better understand
where your error is coming from.
Genkit plugins for web hosting (e.g. @genkit-ai/express or @genkit-ai/next)
SHOULD capture all other Error types and instead report them as an internal error in the response.
This adds a layer of security to your application by ensuring that internal details of your application
do not leak to attackers.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-07 UTC."],[],[]]