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 https://github.com/huggingface/datasets/pull/6296.