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

Method __init__

methods/cognee/exceptions/exceptions.py:29–35  ·  view source on GitHub ↗
(
        self,
        message: str = "Service is unavailable.",
        name: str = "ServiceError",
        status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
    )

Source from the content-addressed store, hash-verified

27 """Failures in external services or APIs, like a database or a third-party service"""
28
29 def __init__(
30 self,
31 message: str = "Service is unavailable.",
32 name: str = "ServiceError",
33 status_code=status.HTTP_422_UNPROCESSABLE_ENTITY,
34 ):
35 super().__init__(message, name, status_code)
36
37
38class InvalidValueError(CogneeApiError):

Callers 3

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected