islabtech_upw_sensor_v1/
error.rs

1use thiserror::Error;
2
3#[derive(Error, Debug)]
4pub enum Error {
5    #[error("Network Error: {0}")]
6    Network(reqwest::Error),
7
8    #[error("Received invalid JSON response: {0}")]
9    InvalidJsonResponse(serde_json::Error),
10}