Skip to content

CdpCommandTimeoutError

Thrown when a CDP command gets no response within the transport’s per-command timeout. Carries the method and the budget so a caller can instanceof-match and re-report it in its own terms.

Import:

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

Signature:

export class CdpCommandTimeoutError extends Error

Extends: Error

Constructor

new CdpCommandTimeoutError(params: CdpCommandTimeoutErrorConstructorParams)

Creates the error from the method and the elapsed budget.

Properties

PropertyTypeDescription
methodstringThe CDP method that got no response.
timeoutInMillisecondsnumberThe per-command budget that elapsed, in milliseconds.

Links to this page: