IntegrationSetupFailedError
Thrown when a test worker asks for the ambient transport of a project whose global setup failed. Carries the configured transport, the original error’s name, and its message, so callers can instanceof-match and report the real cause instead of a downstream transport error.
Import:
import { IntegrationSetupFailedError } from 'obsidian-integration-testing';Signature:
export class IntegrationSetupFailedError extends ErrorExtends: Error
Constructor
new IntegrationSetupFailedError(params: IntegrationSetupFailedErrorConstructorParams)Creates the error from the failure the global setup published to its workers.
Properties
| Property | Type | Description |
|---|---|---|
| errorName | string | The name of the original error the global setup threw. |
| originalMessage | string | The original setup failure, as stringified by the adapter that caught it. |
| transportLabel | string | The transport the failed project is configured for. |
Links to this page: