Get the latest tech news

Rust errors without dependencies


December 27th 2025 Rust error handling is a complex topic mostly due to the composability it gives you and no "blessed way" to accomplish this from the community. Popular libraries include, anyhow, thiserror, and eyre are often recommended and for good reason, they're great libraries! However, personally, I wanted to use what the standard library offered and write my errors without dependencies.

None

Get the Android app

Or read this on Hacker News

Read more on:

Photo of Dependencies

Dependencies

Photo of Rust errors

Rust errors

Related news:

News photo

Show HN: MyTimers.app offline-first PWA with no build step and zero dependencies

News photo

Uv: Running a script with dependencies

News photo

uv Running a Script with Dependencies