We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ad27916 commit 6451f52Copy full SHA for 6451f52
1 file changed
chess/engine.py
@@ -1229,7 +1229,8 @@ def __init__(self, engine: ProtocolT) -> None:
1229
self.finished: asyncio.Future[None] = asyncio.Future()
1230
1231
def _engine_terminated(self, engine: ProtocolT, code: int) -> None:
1232
- exc = EngineTerminatedError(f"engine process died unexpectedly (exit code: {code})")
+ hint = ", binary not compatible with cpu?" if code in [-4, 0xc000001d] else ""
1233
+ exc = EngineTerminatedError(f"engine process died unexpectedly (exit code: {code}{hint})")
1234
if self.state == CommandState.ACTIVE:
1235
self.engine_terminated(engine, exc)
1236
elif self.state == CommandState.CANCELLING:
0 commit comments