CMDx provides three mechanisms for handling interruptions in business logic: halt methods (skip! and fail!), automatic exception handling, and faults. The skip! method marks tasks as legitimately unnecessary (still considered successful), while fail! indicates actual failures. Both accept metadata for debugging. Exceptions are

4m read time From drexed.github.io
Post cover image
Table of contents
The Basics: Stopping Execution on Purpose ¶Exception Handling: When the Unexpected Happens ¶Faults: Structured Exceptions for Halts ¶Propagating Failures with throw! ¶Tracing Failures Through Chains ¶State and Status Transitions ¶Best Practices ¶Conclusion ¶References ¶

Sort: