pub async fn fetch_all_with_errors(
query: String,
) -> (Vec<PackageItem>, Vec<String>)Expand description
What: Fetch search results from AUR and return items along with any error messages.
Input:
queryraw query string to search
Output:
- Tuple
(items, errors)whereitemsarePackageItems found anderrorsare human-readable messages for partial failures
Details:
- Constructs a standalone toolkit context for CLI/non-runtime callers; the TUI uses
[
fetch_all_with_context] so workers share one configured client.