enforceSuccess
fn
void enforceSuccess(herr_t status, lazy string msg, string funcName = "")Enforces that an HDF5 operation succeeded, throwing an exception on failure.
Parameters
status | The HDF5 return status |
msg | Error message to include in the exception |
funcName | Name of the HDF5 function (optional) |
Throws
HDF5Exception if the operation failed