use thiserror::Error; #[derive(Error, Debug)] pub enum Error { #[error("libvirt: {0}")] Libvirt(#[from] virt::error::Error), #[error("Unknown: {0}")] Other(String), }