You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the example above, when I force an error, I get the result langGraphEvent Error
error TypeError: Cannot read properties of undefined (reading 'error').
However, the code presents typing errors:
Property 'error' does not exist on type 'StreamEvent'.ts(2339)
What is the ideal way to handle errors in langGraph cloud projects?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I'm trying to learn how to use LangGraph, but I'm struggling with some beginner doubts.
I've been following LangChain tutorials on YouTube and came across this project: https://github.com/bracesproul/gen-ui-python.
I'm trying to handle errors in a specific part of the front end and encountered the following issue:
In the example above, when I force an error, I get the result langGraphEvent Error
error TypeError: Cannot read properties of undefined (reading 'error').
However, the code presents typing errors:
Property 'error' does not exist on type 'StreamEvent'.ts(2339)
What is the ideal way to handle errors in langGraph cloud projects?
Beta Was this translation helpful? Give feedback.
All reactions