-
Notifications
You must be signed in to change notification settings - Fork 559
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
Define all errors in ./src/huggingface_hub/errors.py
#2069
Comments
Hi, I'm interested in taking on this issue. It seems like a great starting point for me. |
Hi @Y4suyuki, thanks for proposing your help on this issue! Do you need any additional information before giving it a try or is it clear? Happy to review a PR or answer any questions. I do think it'd be best to start a PR only with a few errors and then extend it once we've agreed on how to proceed. Thanks in advance! |
Hi @Wauplin , I've created a PR that moves several custom errors into errors.py. I have one question: I thought errors.py should simply contains custom errors and implemented so in PR but I'm asking just in case. |
Yes, you're absolutely right! We only want errors to be defined in |
@Wauplin Hello! I'm relatively new to this repository, and I want to help and contribute. I see that the commits above have worked on a lot of the errors already. Is there any errors left that I can work on? Or any places in the repository likely to have custom errors? |
Hi @010kim, thanks for proposing your help! All errors have not yet been transferred to |
great job! |
Custom exceptions are defined in various places across the codebase. For consistency, we should define them all in
./src/huggingface_hub/errors.py
.Requested by @albertvillanova in huggingface/datasets#6296.
The text was updated successfully, but these errors were encountered: