Skip to content

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 Error

Extends: Error

Constructor

new OwnedInstanceExitedError(params: OwnedInstanceExitedErrorConstructorParams)

Creates the error from whatever is known about the instance's death.

Properties

PropertyTypeDescription
cdpUrlstringThe CDP URL the dead instance was serving.
codenull | number | undefinedExit code, when known.
exitedAtInMillisecondsnumber | undefinedWhen the instance exited (Date.now() epoch milliseconds), when known.
signalNodeJS.Signals | null | undefinedTerminating signal, when known.

Links to this page: