Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Differenctiate ValueErrors #143

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Differenctiate ValueErrors #143

wants to merge 2 commits into from

Commits on Oct 18, 2024

  1. Differenctiate ValueErrors

    ValueErrors are a bit too generic, and by raising/catching them we loose
    a potential useful information; For example an invalid content type for
    the index, is dealt as the same way than a missing wheel.
    
    This introduces new exceptions for various cases, ant stop catching the
    now UnsupportedContentTypeError, as I believe it should be a hard error as
    we are likely having either an error with the index software, or a user
    configuraition error.
    
    See also beginning of discussion in pyodide#142
    Carreau committed Oct 18, 2024
    Configuration menu
    Copy the full SHA
    86f40d6 View commit details
    Browse the repository at this point in the history

Commits on Oct 21, 2024

  1. Configuration menu
    Copy the full SHA
    cfb7483 View commit details
    Browse the repository at this point in the history