Open
Description
Please describe the use case that requires this feature.
When encountering unsupported (not yet or old, dropped versions) we raise inconsistent, generic python errors.
ValueError
for the optics table, OSError
else (I think it used to be the more fitting IOError
but was changed in an automatic refactoring.
Describe the solution you'd like
We should use a specific exception in this case that is a ctapipe exception type for this explicit purpose.
Additional context
LST chain wants to add back explicit support for older files, which would be better handled with a specific exception type.
cta-observatory/cta-lstchain#1329 (comment)
Activity