MCPcopy Create free account
hub / github.com/MiniMax-AI/Mini-Agent / RetryExhaustedError

Class RetryExhaustedError

mini_agent/retry.py:64–70  ·  view source on GitHub ↗

Retry exhausted exception

Source from the content-addressed store, hash-verified

62
63
64class RetryExhaustedError(Exception):
65 """Retry exhausted exception"""
66
67 def __init__(self, last_exception: Exception, attempts: int):
68 self.last_exception = last_exception
69 self.attempts = attempts
70 super().__init__(f"Retry failed after {attempts} attempts. Last error: {str(last_exception)}")
71
72
73def async_retry(

Callers 1

wrapperFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected