From 6b995785c780dd47cb0e02821001f446cf4ec211 Mon Sep 17 00:00:00 2001 From: Cara Salter Date: Wed, 20 Apr 2022 13:08:28 -0400 Subject: house: Allow for the introduction of new VMs Templates the XML and creates the disk images --- src/errors.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/errors.rs') diff --git a/src/errors.rs b/src/errors.rs index 3a0eedd..29f7f4f 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -8,4 +8,11 @@ pub enum Error { Other(String), #[error("Missing connection: {0}")] Connection(String), + #[error("Missing image: {0}")] + MissingImage(String), + #[error("Could not allocate VM storage: {0}")] + Allocation(String), + #[error("I/O: {0}")] + Io(#[from] std::io::Error), } + -- cgit v1.2.3