setAssertFailedHandler

cee.setAssertFailedHandler()
setAssertFailedHandler(handler: AssertFailedHandler): void

Set a custom code assert failed handler.

If specified, any failing assert conditions internally in the HOOPS Envision Web code will trigger this callback.

If not specified, the failed assert will be logged and then an exception will be thrown (potentially stopping the app).

Parameters

Returns: void