What this MR does / why does DuMux need it:
Specifying exceptions as overly general without module name is deprecated and will be removed with Pylint 3.0.