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