type

TaskError

A stable typed durable-task failure.

Properties

PropertyTypeDescription
CodeTaskErrorCodeThe stable machine-readable failure category.
MessagestringThe safe human-readable failure summary.
CauseerrorThe trusted wrapped cause for local diagnostics.

How it works

TaskError implements Error and Unwrap for local runtime, store, and codec failures. Handler failures use RetryTask, RetryTaskAfter, or AbortTask; their bounded messages are persisted on durable task state instead.

Full signature

Methods