summaryrefslogtreecommitdiff
path: root/src/error.rs
diff options
context:
space:
mode:
authorfxqnlr <[email protected]>2024-09-06 17:12:52 +0200
committerfxqnlr <[email protected]>2024-09-06 17:12:52 +0200
commit695556c3441f5ffd40c35387a5b45e4459684c2c (patch)
tree5a95edfc1c4b53b29220074e4598384390dd10a8 /src/error.rs
parentab7f99e061e54924899b778e929dd2e17c8792d9 (diff)
downloadarbs-695556c3441f5ffd40c35387a5b45e4459684c2c.tar
arbs-695556c3441f5ffd40c35387a5b45e4459684c2c.tar.gz
arbs-695556c3441f5ffd40c35387a5b45e4459684c2c.zip
add get specific or last backup
Diffstat (limited to 'src/error.rs')
-rw-r--r--src/error.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/error.rs b/src/error.rs
index dc132f4..6afa3d0 100644
--- a/src/error.rs
+++ b/src/error.rs
@@ -20,6 +20,9 @@ pub enum Error {
20 #[error("OsString couldn't be converted to string")] 20 #[error("OsString couldn't be converted to string")]
21 InvalidOsString, 21 InvalidOsString,
22 22
23 #[error("Requested backup not found")]
24 BackupNotFound,
25
23 #[error("json: {source}")] 26 #[error("json: {source}")]
24 SerdeJson { 27 SerdeJson {
25 #[from] 28 #[from]