pub fn file_error_value( operation: &str, path: &str, target: Option<&str>, error: &FileError, ) -> Value