sendExceptionToGUEH static method

Future<void> sendExceptionToGUEH(
  1. String stacktrace,
  2. String errorMessage, {
  3. String? errorReason,
})

Implementation

static Future<void> sendExceptionToGUEH(
    String stacktrace, String errorMessage,
    {String? errorReason}) async {
  await _nativeChannel.invokeMethod(SEND_CRASH_TO_GUEH, {
    STACKTRACE_KEY: stacktrace,
    ERROR_MESSAGE_KEY: errorMessage,
    ERROR_REASON_KEY: errorReason
  });
  TBLLogger.log(
      'sendExeptionToGUEH | errorMessage sent to GUEH = ${errorMessage.toString()}');
}