MCPcopy
hub / github.com/redis/redis-py / _error_message

Method _error_message

redis/asyncio/connection.py:455–456  ·  view source on GitHub ↗
(self, exception: BaseException)

Source from the content-addressed store, hash-verified

453 pass
454
455 def _error_message(self, exception: BaseException) -> str:
456 return format_error_message(self._host_error(), exception)
457
458 def get_protocol(self):
459 return self.protocol

Callers 1

connect_check_healthMethod · 0.95

Calls 2

_host_errorMethod · 0.95
format_error_messageFunction · 0.85

Tested by

no test coverage detected