curl -s 'https://www.unum.cloud/docs/ustore/cpp/errors.md' | claude -p "How would this fit my code?"
Fallible calls return a status_t, a status_code_t beside an optional static note, or an expected, a plain pair of a value and the status_t beside it, and both are [[nodiscard]].
Recovery branches on the code, while the note names the broken invariant, step or resource for logs, falling back to the status name. auto [value, status] decomposes an expected, whose value is default-constructed on failure.
Nothing throws, and a callable that may throw, such as a progress handler, does not compile.
status_tWhy a call failed: a code recovery branches on, and an optional static note naming the broken invariant, step or resource, for logs and regression analysis.