aboutsummaryrefslogtreecommitdiff
path: root/src/errors.rs
blob: 2960ba98040c808135e9260815ce41e5dcbea115 (plain) (blame)
1
2
3
4
5
6
7
8
9
use thiserror::Error;

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