captureException abstract method
void
captureException({})
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",
});