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

x/poolifier/src/mod.ts>AbstractWorker#handleError

Fast and small web worker pool
Latest
method AbstractWorker.prototype.handleError
import { AbstractWorker } from "https://deno.land/x/poolifier@v0.3.14/src/mod.ts";

Handles an error and convert it to a string so it can be sent back to the main worker.

Parameters

error: Error | string
  • The error raised by the worker.

Returns

string

The error message.