Hacker News new | ask | show | jobs
by dasfasf 3502 days ago
I use error_chain

    let a = foo().chain_err(|| "failed to foo")?;