Skip to main content

fetch_all_with_errors

Function fetch_all_with_errors 

Source
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:

  • query raw query string to search

Output:

  • Tuple (items, errors) where items are PackageItems found and errors are 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.