Skip to content

v0.7.2

Compare
Choose a tag to compare
@bmaranville bmaranville released this 29 Feb 16:31
· 61 commits to main since this release

v0.7.2 2024-02-29

Added

  • new optional HDF5 error handler that throws Javascript error (old handler printed HDF5-DIAG error strings using console.error(), but did not throw a JS Error)
  • when activated, the thrown Error.message is the same string that was previously printed to the console

To enable:

const Module = await h5wasm.ready;
Module.activate_throwing_error_handler();
// to deactivate, restoring console.error behavior:
// Module.deactivate_throwing_error_handler();