Skip to content
Developer Preview

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.

is_launch_failure(outcome: TurnOutcome) -> bool

Name Type Description
outcome The settled turn outcome.

True iff the terminal is failed with error.kind == launchError.

Source

clients/sdk-py/src/muse_code/facade/turn_handle.py:106