3 ms·
Rust libraries like my [SNAFU] allow you to both add additional details and use the `?` operator: read_to_string(path).context(ConfigFileSnafu { path })?;
by shepmaster 3y ago
Rust libraries like my [SNAFU] allow you to both add additional details and use the `?` operator:
read_to_string(path).context(ConfigFileSnafu { path })?;
[SNAFU]: https://docs.rs/snafu/latest/snafu/ https://docs.rs/snafu/latest/snafu/