todo: use anyhow crate to improve readability and maintenance

This commit is contained in:
Denis-Cosmin Nutiu 2024-02-27 20:49:06 +02:00
parent b5d2f80e15
commit 4dc106450a

View file

@ -151,6 +151,9 @@ const BME680_TMP_BUFFER_LENGTH: usize = 40;
const BME680_REG_BUFFER_LENGTH: usize = 6;
/// All possible errors in this crate
/// TODO: use anyhow:
/// - https://antoinerr.github.io/blog-website/2023/01/28/rust-anyhow.html
/// - https://docs.rs/anyhow/latest/anyhow/
#[derive(Debug)]
pub enum Bme680Error {
///