How do you implement error handling when using SSE? #911
Unanswered
danechitoaie
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to implement the following example https://github.com/poem-web/poem/blob/master/examples/openapi/sse/src/main.rs
But how do you add some error handling? Like if some error happens how do I return a "ErrorEvent" type of data to the user?
Beta Was this translation helpful? Give feedback.
All reactions