summaryrefslogtreecommitdiff
path: root/src/lib.rs
diff options
context:
space:
mode:
authorJustin Wernick <justin@worthe-it.co.za>2023-03-24 08:46:13 +0200
committerJustin Wernick <justin@worthe-it.co.za>2023-03-24 08:46:13 +0200
commit8b21be5e14f44c4f9b0d995ed73709bdde30028f (patch)
treee3f99c2f7f4f1d060a2cea293ea816a33131dece /src/lib.rs
parenta62fa84b0bb5abe3a2c52a047f47b6403ffcd54c (diff)
Added checking for a valid path, but the test is failing for the wrong reason
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib.rs b/src/lib.rs
index 99d8877..595e3ec 100644
--- a/src/lib.rs
+++ b/src/lib.rs
@@ -39,4 +39,6 @@ pub enum ShackleError {
ReadlineError(#[from] ReadlineError),
#[error("Could not get the current user name")]
UserReadError,
+ #[error("Path is not accessible")]
+ InvalidDirectory,
}