MCPcopy Create free account
hub / github.com/OpenRouterTeam/python-sdk / TemporaryError

Class TemporaryError

src/openrouter/utils/retries.py:96–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94
95
96class TemporaryError(Exception):
97 response: httpx.Response
98 retry_after: Optional[int]
99
100 def __init__(self, response: httpx.Response):
101 self.response = response
102 self.retry_after = _parse_retry_after_header(response)
103
104
105class PermanentError(Exception):

Callers 1

do_requestFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected