MCPcopy Create free account
hub / github.com/THUDM/AgentBench / __init__

Method __init__

src/typings/exception.py:9–12  ·  view source on GitHub ↗
(self, reason: str, detail: Union[str, None] = None)

Source from the content-addressed store, hash-verified

7
8class ClientException(AgentBenchException):
9 def __init__(self, reason: str, detail: Union[str, None] = None) -> None:
10 super().__init__()
11 self.reason = reason
12 self.detail = detail
13
14 def __str__(self) -> str:
15 if not self.detail:

Callers 5

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected