Skip to main content
๐Ÿ“œ WAYPOINT LESSON

Checkpoint: Errors You Can Trust

โญโญ intermediateโณ 28 min read๐Ÿ“ Lesson 136 of 225

Prove the taxonomy: every failure distinguishable, every cleanup run, no lie in any report.

The task

Implement app_run and the two stages (see the challenge). The graded surface is the shape of failure: config vs data vs caller-error are three different answers; the report names the failing stage; a failure in config means data never runs. Swallowing, conflating, or reporting success on failure โ€” the classic sins โ€” all fail the tests.

Passing this proves you can design the error dimension of an API, not just its happy path โ€” the difference between code that works and code that can be operated.

Next module: undefined behavior โ€” the errors the compiler is allowed to make for you.