rsiot_logging/
error.rs

1#[derive(Debug, thiserror::Error)]
2pub enum Error {
3    #[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
4    #[error("{source}")]
5    Loki {
6        #[from]
7        source: tracing_loki::Error,
8    },
9
10    #[cfg(any(target_arch = "x86_64", target_arch = "aarch64"))]
11    #[error("{source}")]
12    Parse {
13        #[from]
14        source: url::ParseError,
15    },
16}