Skip to content

MuseHostStartError

MuseClient.spawn lost its host before the handshake completed.

Typed rather than a bare Error because the two arms of failure name STATES an embedder branches on (retry after fixing the path, versus act on an retry posture). The transport error that first surfaced the loss rides as cause, so nothing the old rejection carried is dropped.

Property Type Stability Presence Description
failure HostStartFailure required
stderrTail readonly string[] required The SDK’s bounded stderr tail when the host was lost, one accessor regardless of arm: empty when no process ran, and the only place the evidence lives when the row is cleanShutdown (keeps no tail on the clean row; a logger wants the lines either way).
Method Signature Stability Description
constructor new MuseHostStartError(failure: HostStartFailure, stderrTail: readonly string[], cause: unknown)
Source

clients/sdk-ts/src/facade/host-start.ts:45

{
"kind": "Class",
"canonicalPath": "MuseHostStartError"
}