Sfoglia il codice sorgente

feat(main): add PERMISSION_DENIED exit code

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 anni fa
parent
commit
1ed2e1f84d
1 ha cambiato i file con 3 aggiunte e 0 eliminazioni
  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;
 }