H5Epush2

fnherr_t H5Epush2(hid_t err_stack, const char * file, const char * func, uint line, hid_t cls_id, hid_t maj_id, hid_t min_id, const char * msg, ...)

Pushes a new error onto an error stack.

Parameters

err_stackError stack identifier, or H5E_DEFAULT
fileFile name where error occurred
funcFunction name where error occurred
lineLine number where error occurred
cls_idError class identifier
maj_idMajor error identifier
min_idMinor error identifier
msgError message (printf-style format string)

Returns

Non-negative on success, negative on failure.