Documentation / listr2 / ListrErrorTypes
Enumeration: ListrErrorTypes
Defined in: packages/listr2/src/constants/listr-error.constants.ts:4
The actual error type that is collected and to help identify where the error is triggered from.
Enumeration Members
WILL_RETRY
WILL_RETRY:
"WILL_RETRY"
Defined in: packages/listr2/src/constants/listr-error.constants.ts:6
Task has failed and will try to retry.
WILL_ROLLBACK
WILL_ROLLBACK:
"WILL_ROLLBACK"
Defined in: packages/listr2/src/constants/listr-error.constants.ts:8
Task has failed and will try to rollback.
HAS_FAILED_TO_ROLLBACK
HAS_FAILED_TO_ROLLBACK:
"HAS_FAILED_TO_ROLLBACK"
Defined in: packages/listr2/src/constants/listr-error.constants.ts:10
Task has failed, ran the rollback action but the rollback action itself has failed.
HAS_FAILED
HAS_FAILED:
"HAS_FAILED"
Defined in: packages/listr2/src/constants/listr-error.constants.ts:12
Task has failed.
HAS_FAILED_WITHOUT_ERROR
HAS_FAILED_WITHOUT_ERROR:
"HAS_FAILED_WITHOUT_ERROR"
Defined in: packages/listr2/src/constants/listr-error.constants.ts:14
Task has failed, but exitOnError is set to false, so will ignore this error.