MCPcopy Create free account
hub / github.com/CloudOrc/SolidUI / __init__

Method __init__

solidui/exceptions.py:27–37  ·  view source on GitHub ↗
(
        self,
        message: str = "",
        exception: Optional[Exception] = None,
        error_type: Optional[SolidUIErrorType] = None,
    )

Source from the content-addressed store, hash-verified

25 message = ""
26
27 def __init__(
28 self,
29 message: str = "",
30 exception: Optional[Exception] = None,
31 error_type: Optional[SolidUIErrorType] = None,
32 ) -> None:
33 if message:
34 self.message = message
35 self._exception = exception
36 self._error_type = error_type
37 super().__init__(self.message)
38
39 @property
40 def exception(self) -> Optional[Exception]:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected