CMDx standardizes Ruby service object return values through a consistent Result object pattern. Every task execution returns an immutable Result containing context, outcome metadata, and error information. The framework distinguishes between State and Status for complex workflows, enabling clear error tracing through task
Table of contents
The Result Object ¶State vs. Status: The Critical Distinction ¶Handling Outcomes Like a Pro ¶Digging Deeper: Chain Analysis ¶Conclusion ¶References ¶Sort: