type

TaskError

type TaskError struct { Code TaskErrorCode Message string Cause error }

Stable local durable-task boundary error.

Source core/task.go:335

CodeTaskErrorCode
The stable machine-readable failure category.
Messagestring
The safe human-readable failure summary.
Causeerror
The trusted wrapped cause for local diagnostics.

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.

Methods