bookmark_borderbookmark
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.
Was this helpful?
Recommended for you
About these recommendations
These recommendations help you find the content you are looking for. They may be based on the page you’re currently viewing and your account’s saved web and app activity.
Firebase Authentication lets you add an end-to-end identity solution to your app for easy user authentication, sign-in, and onboarding in just a few lines of code.
[[["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."],[],[]]