captureException static method
Implementation
static Future<void> captureException(
dynamic exception, StackTrace stackTrace) async {
if (_instance == null) {
throw Exception(
'Allstak SDK not been initialized. Call Allstak.init() first.');
}
await _instance!._sendException(exception, stackTrace);
}