OwnedInstanceExitedErrorConstructorParams
Parameters for the OwnedInstanceExitedError constructor.
Everything but the URL is optional: the exit details come from the process that launched the instance, and a caller in another process has them only when the exit marker survived (see owned-instance-exit-marker.ts).
Import:
import type { OwnedInstanceExitedErrorConstructorParams } from 'obsidian-integration-testing';Signature:
export interface OwnedInstanceExitedErrorConstructorParamsProperties
| Property | Type | Description |
|---|---|---|
| cdpUrl | string | The CDP URL the dead instance was serving. |
| code? | null | number | undefined | Exit code, when known. |
| exitedAtInMilliseconds? | number | undefined | When the instance exited (Date.now() epoch milliseconds), when known. |
| outputTail? | string | undefined | The tail of what the instance wrote to stdout/stderr, when any was captured. |
| pid? | number | undefined | PID of the dead instance, when known. |
| signal? | NodeJS.Signals | null | undefined | Terminating signal, when known. |
| spawnError? | string | undefined | The spawn-failure message when the instance never started, otherwise absent. |