Clearer HTTP error messages in `huggingface_hub` #1019
draft
be50af94
refactored error handling
04d390fe
fix regexes in tetss
2ec65837
add tests for HfHubHttpErrors and helpers
ee5bdd6d
fix test
52fdc4f1
Merge branch 'main' into 989-better-error-messages-in-hf-api
c29489bc
Wauplin
changed the title [WIP] Clearer error messages in `huggingface_hub` [WIP] Clearer HTTP error messages in `huggingface_hub` 3 years ago
fix test_model_info regex
da0edb4e
renamed to hf_raise_for_status + new attributes
97ae00fc
Add documentation
c18df189
isort fix
a130c8f2
FIX mock test
7a1adee2
Add BadRequestError reference to doc
aa9c897a
doc
35902a77
Wauplin
marked this pull request as ready for review 3 years ago
Wauplin
changed the title [WIP] Clearer HTTP error messages in `huggingface_hub` Clearer HTTP error messages in `huggingface_hub` 3 years ago
no deprecation for _raise_for_status
a545192a
sgugger
approved these changes
on 2022-09-01
Update docs/source/package_reference/utilities.mdx
3dca9e4e
sphinx to new doc
8f08cef0
relative imports for doc
6c6712b1
exmaple instead of usage
586cee17
Merge branch 'main' into 989-better-error-messages-in-hf-api
f2e462f3
Wauplin
merged
49c27b40
into main 3 years ago
Wauplin
deleted the 989-better-error-messages-in-hf-api branch 3 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub