triggerUncaughtExceptionAsync static method
Throws an uncaught exception.
Implementation
static Future<void> triggerUncaughtExceptionAsync() async {
await Future(() async {
throw Exception('Embrace sample: Error in async function');
});
}
Throws an uncaught exception.
static Future<void> triggerUncaughtExceptionAsync() async {
await Future(() async {
throw Exception('Embrace sample: Error in async function');
});
}