blob: 3a0eedd27c89b56d1d43ff043a2c9e1d41fc745e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
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),
}
|