type
OperationError
Structured operation-boundary failure.
Properties
| Property | Type | Description |
|---|---|---|
Code | string | The stable machine-readable Ridu error code. |
Status | int | The corresponding HTTP status when the failure crosses HTTP. |
Message | string | A safe human-readable summary. |
Issues | []schema.Issue | Path-aware validation or configuration issues. |
Cause | error | The trusted wrapped cause available to local callers. |
Committed | bool | Reports that durable commit succeeded before a later after-commit effect failed. |
CommitAttempted | bool | Reports that commit was sent but its durable outcome is unknown. |
How it works
When CommitAttempted is true, retain and reconcile external resources instead of eagerly rolling them back. OperationError implements Error and Unwrap.
Full signature
type OperationError = operationengine.Error