fix: Handle Interrupted Error

Rust may throw Interrupted errors while scanning filesystem. These may
be retried:
https://doc.rust-lang.org/std/io/enum.ErrorKind.html#variant.Interrupted
This commit is contained in:
andy.boot
2025-01-25 22:04:15 +00:00
parent 9ba0b6d1d0
commit 8e087e09da
2 changed files with 42 additions and 16 deletions
+1
View File
@@ -78,6 +78,7 @@ pub struct RuntimeErrors {
pub no_permissions: HashSet<String>,
pub file_not_found: HashSet<String>,
pub unknown_error: HashSet<String>,
pub interrupted_error: i32,
pub abort: bool,
}