A Readable Failure Path Across Nested Components

A caller should receive an outcome that reflects which work completed and which next action remains possible.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Trace a failed export
  2. Keep causal evidence

Trace a failed export

Parsing succeeded, but publishing a completed file failed. Report a write failure while keeping prior output if the contract promises it. See file replacement.

Keep causal evidence

Translate the outcome at the appropriate component boundary and retain meaningful technical context for diagnostics. Exception propagation explains how it reaches callers.[1]

References

  1. David L. Parnas, On the Criteria to Be Used in Decomposing Systems into Modules, CMU-CS-71-101 ↩