RustErrorsupport.sys.mjs

RustErrorsupport.sys.setApplicationErrorReporter(errorReporter)

Set the global error reporter. This is typically done early in startup.

RustErrorsupport.sys.unsetApplicationErrorReporter()

Unset the global error reporter. This is typically done at shutdown for platforms that want to cleanup references like Desktop.