#include <errorstack.h>
Saves and restores the current error stack. Useful for preserving the HDF5 error state if it cannot be counted on to be empty.
Example usage as a scope guard: { ScopedErrorStack ses();
... code that can generate and handle HDF5 errors ... }