• Alex Dowad's avatar
    print.c: provide more detailed error messages if retrieving a package fails · 74dc8e23
    Alex Dowad authored
    fetch_maperror() translates error codes returned by libfetch to our error
    codes. Handle those in apk_error_str(), returning error messages which
    advise the user of the most likely fix.
    
    A custom error code, EAPKSTALEINDEX, has been added for cases where
    retrieving a package fails due to a HTTP error 404 or similar.
    
    [TimoT: add also EAPKBADURL, as well as organize a bit better where the
    EAPKSTALEINDEX is generated]
    74dc8e23
Name
Last commit
Last update
src Loading commit data...
test Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
Make.rules Loading commit data...
Makefile Loading commit data...
NEWS Loading commit data...
README Loading commit data...