is_launch_failure
The deferred_start_failed exit.
Function in muse_code
A pre-minted turn whose launch errored at the terminal boundary, so the
runtime wrote its terminal directly and no turn/started was ever
emitted BY THE HOST. Read off the wire, never off local observation: a
client that had not been listening when the turn started is not looking at
a launch failure.
Signature
Section titled “Signature”is_launch_failure(outcome: TurnOutcome) -> bool
Parameters
Section titled “Parameters”| Name | Type | Description |
|---|---|---|
outcome |
The settled turn outcome. |
Returns
Section titled “Returns”True iff the terminal is failed with error.kind == launchError.
Source
clients/sdk-py/src/muse_code/facade/turn_handle.py:106