aboutsummaryrefslogtreecommitdiff
path: root/src/errors.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs7
1 files changed, 7 insertions, 0 deletions
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),
}
+