mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
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:
@@ -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,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user