Skip to content

DesktopOnlyPluginSkipError

Thrown when a desktop-only plugin’s mobile integration tests are skipped.

Carries the plugin id so a caller can instanceof-match and report the skip in its own words.

Import:

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

Signature:

export class DesktopOnlyPluginSkipError extends Error

Extends: Error

Constructor

new DesktopOnlyPluginSkipError(pluginId: string)

Creates the error from the plugin id read out of manifest.json.

Properties

PropertyTypeDescription
pluginIdstringThe id of the desktop-only plugin whose mobile tests were skipped.