MCPcopy Create free account
hub / github.com/AQ-MedAI/MedMemoryBench / __init__

Method __init__

methods/letta/errors.py:25–31  ·  view source on GitHub ↗
(self, message: str, code: Optional[ErrorCode] = None, details: Optional[Union[Dict, str, object]] = None)

Source from the content-addressed store, hash-verified

23 """Base class for all Letta related errors."""
24
25 def __init__(self, message: str, code: Optional[ErrorCode] = None, details: Optional[Union[Dict, str, object]] = None):
26 if details is None:
27 details = {}
28 self.message = message
29 self.code = code
30 self.details = details
31 super().__init__(message)
32
33 def __str__(self) -> str:
34 if self.code:

Callers 11

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__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