aboutsummaryrefslogtreecommitdiffstats
path: root/src/errors.rs
diff options
context:
space:
mode:
authorTeddy Wing2018-10-22 23:05:51 +0200
committerTeddy Wing2018-10-22 23:05:51 +0200
commitef1f45b67921285493511c75f08ba00a56292b15 (patch)
tree41723f143c175b9928e41ef136c0b297e35c3b72 /src/errors.rs
parenta13883f3a0bb23f069c8172f7c5c7b686467c9d5 (diff)
downloaddome-key-map-ef1f45b67921285493511c75f08ba00a56292b15.tar.bz2
Fill in `get_trial_start()` function
Reads the encrypted timestamp from the trial file and returns a `DateTime`.
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 17508fe..f84bb2e 100644
--- a/src/errors.rs
+++ b/src/errors.rs
@@ -6,6 +6,8 @@ error_chain! {
foreign_links {
Xdg(xdg::BaseDirectoriesError);
Io(::std::io::Error);
+
+ DateCrypt(DateCryptError);
}
}