MCPcopy Create free account
hub / github.com/bloomberg/pystack / EngineError

Class EngineError

src/pystack/errors.py:88–102  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86
87
88class EngineError(PystackError):
89 def __init__(
90 self,
91 *args: Any,
92 corefile: Optional[pathlib.Path] = None,
93 pid: Optional[int] = None,
94 **kwargs: Any,
95 ) -> None:
96 self.corefile = corefile
97 self.pid = pid
98 super().__init__(*args, **kwargs)
99
100 def __str__(self) -> str:
101 message, *_ = self.args
102 return f"Engine error: {message}"
103
104
105class ProcessNotFound(PystackError, ProcessLookupError):

Calls

no outgoing calls