Skip to content

Documentation / listr2 / ListrTaskFailure

Class: ListrTaskFailure ​

Defined in: packages/listr2/src/interfaces/task-failure.interface.ts:6

Result of task.fail() that marks the task as failed without retrying it.

See ​

https://listr2.kilic.dev/task/retry.html

Constructors ​

Constructor ​

new ListrTaskFailure(error): ListrTaskFailure

Defined in: packages/listr2/src/interfaces/task-failure.interface.ts:7

Parameters ​

error ​

Error

Returns ​

ListrTaskFailure

Properties ​

error ​

error: Error

Defined in: packages/listr2/src/interfaces/task-failure.interface.ts:7