Skip to content

CollectedPromiseError

Thrown when an evaluated closure awaited a promise that was garbage-collected, so it could never settle.

Import:

import { CollectedPromiseError } from 'obsidian-integration-testing';

Signature:

export class CollectedPromiseError extends Error

Extends: Error

Constructor

new CollectedPromiseError(params: CollectedPromiseErrorConstructorParams)

Creates the error for the transport that ran the evaluation.

Properties

PropertyTypeDescription
transportNamestringThe transport that ran the evaluation.

Links to this page: