Name: H5Eset_current_stack
Signature:
  herr_t `H5Eset_current_stack`(hid_t `estack_id`)
Purpose:
  Replaces the current error stack.
Description:
  `H5Eset_current_stack` replaces the content of the current error stack with a copy of the content of the error stack specified by `estack_id`, and it closes the error stack specified by `estack_id`.
Parameters:

hid_t `estack_id` | IN: Error stack identifier.

Returns:
  Returns a non-negative value on success; otherwise returns a negative value.
Fortran90 Interface:
  None.
History:

  Release | C
  1.8.0 | Function introduced in this release.