Low-level data processing pipeline software for CTAO or similar arrays of Imaging Atmospheric Cherenkov Telescopes
BSD 3-Clause "New" or "Revised" License
64
stars
268
forks
source link
Use dedicated exception type for unsupported input files #2528
Open
maxnoe opened 6 months ago
Please describe the use case that requires this feature.
Right now, we are raising OSError / IOError, however, this is not really appropriate as this is reserved for failed system calls.
Describe the solution you'd like
We should use our own types, e.g.:
if input files contain unsupported versions