MCPcopy
hub / github.com/benoitc/gunicorn / DirtyConnectionError

Class DirtyConnectionError

gunicorn/dirty/errors.py:89–95  ·  view source on GitHub ↗

Raised when connection to dirty arbiter fails.

Source from the content-addressed store, hash-verified

87
88
89class DirtyConnectionError(DirtyError):
90 """Raised when connection to dirty arbiter fails."""
91
92 def __init__(self, message="Connection failed", socket_path=None):
93 details = {"socket_path": socket_path} if socket_path else {}
94 super().__init__(message, details)
95 self.socket_path = socket_path
96
97
98class DirtyWorkerError(DirtyError):

Callers 6

connectMethod · 0.85
_execute_lockedMethod · 0.85
connect_asyncMethod · 0.85
execute_asyncMethod · 0.85
_read_next_chunkMethod · 0.85
_read_next_chunkMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected