»Schedule // Talk
Thursday, October 9, 2025
11:45–12:15
Main Stage
From any to this: using concrete error types instead of a catchall
Ever since the Deno project has been written in Rust, it has used anyhow
for error handling across the entire codebase. This has proven to be problematic in various ways, and ergonomically difficult to handle complex errors coming from all over the place. As such, a refactoring project spanning 14 repositories, over 50 crates and multiple months was initiated for which the goal was to remove the “viral” anyhow
crate in favour of using thiserror and concrete error types.
The ways we achieved this, the challenges encountered and the reasons behind this all will be explored.
Speaker
Leo Kettmeir
I am a software engineer at Deno, where I have implemented various Web APIs including WebSocket, Web Storage, WebGPU among others, and also various other features. One of my main focuses is improving developer experience through better tooling and documentation, which is reflected in my work on jsr.io and it’s documentation generator.