OwnedInstanceExitedError
Thrown when the harness-owned Obsidian instance has exited and its CDP endpoint is therefore unreachable. Carries whatever is known about the death — exit code, signal, when it happened, and the output tail — so the failure names its own cause instead of a refused connection.
Import:
import { OwnedInstanceExitedError } from 'obsidian-integration-testing';Signature:
export class OwnedInstanceExitedError extends ErrorExtends: Error
Constructor
new OwnedInstanceExitedError(params: OwnedInstanceExitedErrorConstructorParams)Creates the error from whatever is known about the instance's death.
Properties
| 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. |
| signal | NodeJS.Signals | null | undefined | Terminating signal, when known. |
Links to this page: