Interface TaskError<Data>

Task error.

Type Parameters

  • Data = unknown

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

Hierarchy

  • TaskError

Properties

Properties

data?: Data

Data triggering the error.

message: string

Error message.

name: string

Task name triggering the error.

Generated using TypeDoc