Skip to content

WorkerErrorMessage

A failed call, answered by the worker.

Import:

import type { WorkerErrorMessage } from '@mnaoumov/obsidian-lib/worker-protocol';

Signature:

export interface WorkerErrorMessage

Properties

PropertyTypeDescription
errorSerializedWorkerErrorThe error, reduced to plain data.
idnumberThe id of the call.
kind'error'The message kind.
protocoltypeof WORKER_PROTOCOLThe protocol tag.

Links to this page: