Posts tagged: Errors
Logs and tracing in Rust: Structured Fields and Spans
How to use structured fields and spans in the Rust tracing crate to add context to your logs and understand the flow of execution in your code.
Logs and tracing in Rust: Fundamentals
An introduction to logging and tracing in Rust, covering some of the philosophy behind logging and how to set up a basic tracing subscriber in your Rust projects.
Your Errors Are Data Too
How Rust's error handling patterns let you treat errors as structured observations about your data - capturing context, categorising failures, and producing data quality reports as first-class pipeline outputs.
Accidental Functional Programming in Rust (From an Epidemiologist's Perspective)
Rust quietly pushes you into functional patterns. An epidemiologist explains Result, match, enums, iterators, and when readability beats idioms.
Error Handling in Rust: anyhow and thiserror
Practical Rust error handling beyond the basics: add context with anyhow and define typed errors with thiserror.
Error Handling in Rust: Fundamentals
A clear, practical guide to Rust error handling: panic, Result, ?, unwrap, and expect - written for Rust developers who want clarity without jargon.