Enter to send·Shift+Enter new line
stream_error_frame( event: Any, ) -> RuntimeError | None
Return the error in an unsolicited {"type": "error", "id": null} frame.
{"type": "error", "id": null}
The server sends one just before it closes a thread stream whose read failed.