handleException method

  1. @VoltronMethod(kHandleExceptionModule)
bool handleException(
  1. String title,
  2. String details,
  3. int exceptionId,
  4. JSPromise promise,
)

Implementation

@VoltronMethod(kHandleExceptionModule)
bool handleException(
    String title, String details, int exceptionId, JSPromise promise) {
  context.handleException(JsError(title, details));
  return false;
}