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

Method _error_message

redis/connection.py:1088–1089  ·  view source on GitHub ↗
(self, exception)

Source from the content-addressed store, hash-verified

1086 pass
1087
1088 def _error_message(self, exception):
1089 return format_error_message(self._host_error(), exception)
1090
1091 def on_connect(self):
1092 self.on_connect_check_health(check_health=True)

Callers 3

connect_check_healthMethod · 0.95

Calls 2

_host_errorMethod · 0.95
format_error_messageFunction · 0.85

Tested by 2