todo: use anyhow crate to improve readability and maintenance
This commit is contained in:
parent
b5d2f80e15
commit
4dc106450a
1 changed files with 3 additions and 0 deletions
|
@ -151,6 +151,9 @@ const BME680_TMP_BUFFER_LENGTH: usize = 40;
|
||||||
const BME680_REG_BUFFER_LENGTH: usize = 6;
|
const BME680_REG_BUFFER_LENGTH: usize = 6;
|
||||||
|
|
||||||
/// All possible errors in this crate
|
/// 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)]
|
#[derive(Debug)]
|
||||||
pub enum Bme680Error {
|
pub enum Bme680Error {
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in a new issue