type
TaskError
A stable typed durable-task failure.
Properties
| Property | Type | Description |
|---|---|---|
Code | TaskErrorCode | The stable machine-readable failure category. |
Message | string | The safe human-readable failure summary. |
Cause | error | The 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
TaskError.Error()Public method TaskError.Error from github.com/riducms/ridu/core.
TaskError.Unwrap()Public method TaskError.Unwrap from github.com/riducms/ridu/core.