interface WorkerErrorShape
Since 0.1.0

Serialized shape of an error crossing the thread boundary in a WorkerTaskReply.

Properties

readonly
name: string

The remote error's name.

readonly
message: string

The remote error's message.

readonly
optional
stack: string

The remote error's stack, when available.

Usage

import { type WorkerErrorShape } from "common/src/index.ts";