Walk error stack
H5E.walk(direction,func) walks the error
stack for the current thread and calls the specified function for
each error along the way.
func is a function handle.
direction specifies how the error stack is traversed
and can be given by one of the following strings or the numeric equivalent.
The specified function must have the following signature:
status = func(n,error_struct)
n is the indexed position of the error
in the stack and
error_struct is a structure with
the following fields:
|Major error number|
|Minor error number|
|Function in which the error occurred|
|File in which the error occurred|
|Line in file where error occurs|
|Optional supplied description|
This function corresponds to the
in the HDF5 library C API.