Skip to content
Free public beta until December 4, 2026: every course is open, no card needed. After that, the first chapter of each course stays free and full access is a one-time $39 ($19 for up to 100 founding members chosen for helpful feedback). Your progress is kept. How the beta works

error chain

The list of errors from what went wrong down to why.

An error chain follows source() from an error to its cause, to that cause's cause, and so on.

Examples

  • while let Some(x) = e { eprintln!("{x}"); e = x.source(); } prints each layer in turn, for example bad port and then invalid digit found in string.

Read the full section →