Interface WorkerError<Data>

Worker error.

Type Parameters

  • Data = unknown

    Type of data sent to the worker triggering an error. This can only be structured-cloneable data.

Hierarchy

  • WorkerError

Properties

Properties

data?: Data

Data triggering the error.

message: string

Error message.

name: string

Task function name triggering the error.

Generated using TypeDoc