blob: 3a0eedd27c89b56d1d43ff043a2c9e1d41fc745e (
plain) (
tree)
|
|
use thiserror::Error;
#[derive(Error, Debug)]
pub enum Error {
#[error("libvirt: {0}")]
Libvirt(#[from] virt::error::Error),
#[error("Unknown: {0}")]
Other(String),
#[error("Missing connection: {0}")]
Connection(String),
}
|