diff options
author | Cara Salter <cara@devcara.com> | 2022-04-20 13:08:28 -0400 |
---|---|---|
committer | Cara Salter <cara@devcara.com> | 2022-04-20 13:08:28 -0400 |
commit | 6b995785c780dd47cb0e02821001f446cf4ec211 (patch) | |
tree | 2bbe9147151056527468c1dcf70b6b98140ccb40 /src/errors.rs | |
parent | 5978befd317189f1f18dddbab3db7ddd0061c236 (diff) | |
download | solarlib-6b995785c780dd47cb0e02821001f446cf4ec211.tar.gz solarlib-6b995785c780dd47cb0e02821001f446cf4ec211.zip |
house: Allow for the introduction of new VMs
Templates the XML and creates the disk images
Diffstat (limited to 'src/errors.rs')
-rw-r--r-- | src/errors.rs | 7 |
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), } + |