h5cpp
h5cpp copied to clipboard
Common base class for HDF related exceptions
Currently, many exceptions thrown by h5cpp can be identified only via inspection of std::runtime_error::what.
A common base type for all exceptions thrown in response to errors originating from libhdf would allow more fine grained error handling.
A further enhancement could be custom exception types for common failure cases, especially those which one can recover from.
Good point. We need to discuss this. But you made a point here.
Tobias says this is easy to do.