tokio_sunspec/
error.rs

1#[derive(Debug, thiserror::Error)]
2pub enum Error {
3    #[error("client error")]
4    Client(),
5
6    #[error("unsupported model (id: {0})")]
7    UnsupportedModel(u16),
8
9    #[error("write to point not supported")]
10    WriteNotSupported(),
11
12    #[error(transparent)]
13    Io(#[from] std::io::Error),
14}