mirror of
https://github.com/langgenius/dify.git
synced 2026-03-01 19:22:10 -05:00
feat: introduce TransportEOFError for handling closed transport scenarios and update transport classes to raise it
This commit is contained in:
4
api/core/virtual_environment/channel/exec.py
Normal file
4
api/core/virtual_environment/channel/exec.py
Normal file
@@ -0,0 +1,4 @@
|
||||
class TransportEOFError(Exception):
|
||||
"""Exception raised when attempting to read from a closed transport."""
|
||||
|
||||
pass
|
||||
Reference in New Issue
Block a user