53 return singleton_instance;
65 void auto_print(
bool enable);
70 bool auto_print()
const;
90 void throw_with_stack(
const std::string& message);
102 void operator=(
Singleton const&) =
delete;
104 bool auto_print_ {
true};
112 bool auto_print_enabled()
const;
118 static herr_t to_list(
unsigned n,
119 const H5E_error2_t *err_desc,
120 std::list<Descriptor>* list);
std::string DLL_EXPORT print_nested(const std::exception &exception, int level=0)
indented output of nested exceptions and included error stack
static Singleton & instance()
reference to singleton
Definition: error.hpp:50
runtime exception containing an HDF5 error H5CError
Definition: h5c_error.hpp:42
Definition: attribute.hpp:43
#define DLL_EXPORT
Definition: windows.hpp:35
singleton class for HDF5 error handling
Definition: error.hpp:41