1#[derive(thiserror::Error, Debug)]
3pub enum Error {
4 #[error(transparent)]
6 Io(#[from] std::io::Error),
7
8 #[error(transparent)]
10 Serialization(#[from] rkyv::rancor::Error),
11
12 #[cfg(feature = "json")]
14 #[error(transparent)]
15 Json(#[from] serde_json::Error),
16
17 #[cfg(any(feature = "windows", feature = "linux"))]
19 #[error(transparent)]
20 Downloader(#[from] isr_dl::Error),
21
22 #[cfg(feature = "windows")]
24 #[error(transparent)]
25 Pdb(#[from] isr_pdb::Error),
26
27 #[cfg(feature = "linux")]
29 #[error(transparent)]
30 Dwarf(#[from] isr_dwarf::Error),
31}