Skip to main content

rak_rui3_eh_driver/
lib.rs

1use thiserror::Error;
2
3pub mod digester;
4pub mod modem;
5pub mod rak_rui3_atat;
6
7#[derive(Debug, Error)]
8pub enum ModemError {
9    #[error("Modem not responding")]
10    NotResponding,
11    #[error("Not attached to network")]
12    NoNetwork,
13    #[error("Requested feature is not yet supported")]
14    NotSupported,
15    #[error("Request timeout")]
16    OperationTimeout,
17    #[error("Request timeout")]
18    OperationFailed,
19}