aboutsummaryrefslogtreecommitdiff
path: root/src/errors.rs
diff options
context:
space:
mode:
authorCara Salter <cara@devcara.com>2022-04-19 12:46:15 -0400
committerCara Salter <cara@devcara.com>2022-04-19 12:46:15 -0400
commit53256aacaa8a8ec5728334afc20ba2945f829b69 (patch)
treea69ffbcd88124e6578fe8192458f7e37290a04a3 /src/errors.rs
parent71d31463e019b5c5d6bea382eb490d53e7c0cea7 (diff)
downloadsolarlib-53256aacaa8a8ec5728334afc20ba2945f829b69.tar.gz
solarlib-53256aacaa8a8ec5728334afc20ba2945f829b69.zip
Unitype and tests
Diffstat (limited to 'src/errors.rs')
-rw-r--r--src/errors.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/errors.rs b/src/errors.rs
index 2960ba9..3a0eedd 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -6,4 +6,6 @@ pub enum Error {
Libvirt(#[from] virt::error::Error),
#[error("Unknown: {0}")]
Other(String),
+ #[error("Missing connection: {0}")]
+ Connection(String),
}