captureException abstract method

void captureException({
  1. required String exception,
  2. String? message,
  3. String? stackTrace,
  4. String tag = "CombainSDK",
})

Captures an exception with an optional message. This will be called when the native SDK encounters an exception.

@param exception The exception type (e.g., "NullPointerException") @param message Optional message to include with the exception @param stackTrace Optional stack trace from the native exception @param tag Optional tag for categorizing the exception (defaults to "CombainSDK")

Implementation

void captureException({
  required String exception,
  String? message,
  String? stackTrace,
  String tag = "CombainSDK",
});