Skip to content

SerializedWorkerError

An error reduced to plain data, because an Error loses its class across the worker boundary.

Import:

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

Signature:

export interface SerializedWorkerError

Properties

PropertyTypeDescription
messagestringThe error message.
namestringThe error name.
stack?stringThe stack in the worker, when there was one.

Links to this page: