Push Client Library Switches Error Stack Use Case Scenario
Author: Quincey Koziol

### Client Library Desires to Preserve an Error Stack Before It's Cleared:

Pre-conditions:

- Client library has registered an error class ID and error information with HDF5 error API.

Scenario:

1. An error occurred after a HDF5 function call and there is another HDF5 function call immediately follows.
2. To avoid the second HDF5 function call clearing the error stack from the failed(first) HDF5 function call, client library preserves it by converting it into object handle and clears the current error stack.

Notes:

1. There are new API functions, H5Eget_current_stack and H5Eset_current_stack, to preserve and switch to current error stack.

Examples:

1. Switch Error Stack