Use `.__cause__` when possible when raising an exception
See https://github.com/huggingface/dataset-viewer/pull/2747#discussion_r1581758922

This refactoring would remove the need to pass the cause explicitly to the `cause` argument. Most importantly, we sometimes forget to pass the cause, which reduce the information passed to the user.

Note that it will only work if we pass `from err` after raising... which can also easily be forgotten 😬
Use `.__cause__` when possible when raising an exception: See https://github.com/huggingface/dataset-viewer/pull/2747#discussion_r1581758922

This refactoring would remove the need to pass the cause explicitly to the `cause` argument. Most importantly, we sometimes forget to pass the cause, which reduce the information passed to the user.

Note that it will only work if we pass `from err` after raising... which can also easily be forgotten 😬