Skip to content

Errors practice problems in Rust

Difficulty:
Category:
Tag:

Showing 20 of 20

Status Title Difficulty
Adding context without anyhow Hard
Borrowing through Option Medium
Boxed errors and downcasting Medium
Collecting an iterator of Results Medium
Converting between Option and Result Medium
Documenting failure: # Errors and # Panics Medium
Eager vs lazy defaults Easy
Error chains and source() Medium
From impls: the machinery behind `?` Medium
Implementing std::error::Error Medium
Matching on Option Easy
#[must_use] in depth Medium
Mutating an Option in place Medium
`?` on Option, and bridging to Result Medium
Propagating with `?` Easy
Result, and why it is #[must_use] Easy
Result combinators and map_err Easy
The Option combinator vocabulary Easy
TryFrom, TryInto, and the type that cannot exist Medium
unwrap and expect discipline Medium