Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface AssertFailedHandler

Interface for callback that is called when a code assert fails in the internal CEETRON Envision Web code

error will contain the error assert message and the call stack.

You can register to receive a callback with the [[SetAssertFailedHandler]] function.

Hierarchy

  • AssertFailedHandler

Callable

  • __call(error: Error, condition: any): void
  • Interface for callback that is called when a code assert fails in the internal CEETRON Envision Web code

    error will contain the error assert message and the call stack.

    You can register to receive a callback with the [[SetAssertFailedHandler]] function.

    Parameters

    • error: Error
    • condition: any

    Returns void

Generated using TypeDoc