Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/poolifier/src/utility-types.ts>WorkerError

Fast and small web worker pool
Latest
interface WorkerError
import { type WorkerError } from "https://deno.land/x/poolifier@v0.3.14/src/utility-types.ts";

Worker error.

Type Parameters

optional
Data = unknown

Properties

readonly
name: string

Task function name triggering the error.

readonly
message: string

Error message.

readonly
optional
data: Data

Data triggering the error.