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 passed to the worker triggering the error.

message: string

Error message.

Generated using TypeDoc