Parcourir la source

feat(main): add PERMISSION_DENIED exit code

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen il y a 2 ans
Parent
commit
1ed2e1f84d
1 fichiers modifiés avec 3 ajouts et 0 suppressions
  1. 3 0
      src/main.rs

+ 3 - 0
src/main.rs

@@ -382,4 +382,7 @@ mod exits {
 
     /// Exit code for when the command-line options are invalid.
     pub const OPTIONS_ERROR: i32 = 3;
+
+    /// Exit code for when the you don't have permissions for the file.
+    pub const PERMISSION_DENIED: i32 = 13;
 }