safeCallId
fn
hid_t safeCallId(hid_t operation, lazy string errorMsg)Safely executes an HDF5 operation that returns an ID.
Parameters
operation | The operation to execute |
errorMsg | Error message if operation fails |
Returns
The valid ID from the operation
Throws
HDF5Exception if the operation returns an invalid ID