return a specific error message when dataset is not supported
See https://github.com/huggingface/datasets-server/pull/2244#discussion_r1445259783

Instead of returning DatasetNotFound, return the reason why the dataset is not supported: disabled repo, disabled viewer, private repo, or blocked dataset. When we do the check, the user is already authenticated and authorized to access the dataset, so: it makes no sense to hide the reason as if the dataset would not exist (the initial idea was to avoid disclosing the existence of a private dataset).

Also: refactoring to "simplify": we raise if a dataset is not supported. No need for a "DatasetStatus" abstraction

Also (unrelated): delete the docker network when running make test, to avoid errors.


return a specific error message when dataset is not supported: See https://github.com/huggingface/datasets-server/pull/2244#discussion_r1445259783

Instead of returning DatasetNotFound, return the reason why the dataset is not supported: disabled repo, disabled viewer, private repo, or blocked dataset. When we do the check, the user is already authenticated and authorized to access the dataset, so: it makes no sense to hide the reason as if the dataset would not exist (the initial idea was to avoid disclosing the existence of a private dataset).

Also: refactoring to "simplify": we raise if a dataset is not supported. No need for a "DatasetStatus" abstraction

Also (unrelated): delete the docker network when running make test, to avoid errors.

