MCPcopy Create free account
hub / github.com/etesync/server / __init__

Method __init__

etebase_server/fastapi/exceptions.py:27–29  ·  view source on GitHub ↗
(self, code: str, detail: str, status_code: int = status.HTTP_400_BAD_REQUEST)

Source from the content-addressed store, hash-verified

25
26class CustomHttpException(HTTPException):
27 def __init__(self, code: str, detail: str, status_code: int = status.HTTP_400_BAD_REQUEST):
28 self.code = code
29 super().__init__(status_code, detail)
30
31 @property
32 def as_dict(self) -> dict:

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected