瀏覽代碼

feat(main): add PERMISSION_DENIED exit code

Signed-off-by: Christina Sørensen <christina@cafkafk.com>
Christina Sørensen 2 年之前
父節點
當前提交
1ed2e1f84d
共有 1 個文件被更改,包括 3 次插入0 次删除
  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;
 }