type

OperationError

The stable code, HTTP status, message, validation issues, cause, and commit-state error returned across operation boundaries.

Properties

PropertyTypeDescription
CodestringThe stable machine-readable Ridu error code.
StatusintThe corresponding HTTP status when the failure crosses HTTP.
MessagestringA safe human-readable summary.
Issues[]schema.IssuePath-aware validation or configuration issues.
CauseerrorThe trusted wrapped cause available to local callers.
CommittedboolReports that durable commit succeeded before a later after-commit effect failed.
CommitAttemptedboolReports 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