sos_logs/error.rs
1use thiserror::Error;
2
3/// Errors generated by the log library.
4#[derive(Debug, Error)]
5pub enum Error {
6 /// Errors generated by the core library.
7 #[error(transparent)]
8 Core(#[from] sos_core::Error),
9
10 /// Errors generated by the IO module.
11 #[error(transparent)]
12 Io(#[from] std::io::Error),
13}