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
What is the correct way to handle errors in the front end of this project?
I have some doubts about this because the StreamEvent in eventHandlerOne doesn't have typings for errors.
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?
The text was updated successfully, but these errors were encountered:
What is the correct way to handle errors in the front end of this project?
I have some doubts about this because the StreamEvent in eventHandlerOne doesn't have typings for errors.
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?
The text was updated successfully, but these errors were encountered: