InvergeDocs
FlutterAPI reference

Errors

Errors in the Flutter SDK.

import 'package:nexus_flutter/nexus.dart';

NexusErrors

class

Error & crash monitoring. Once installed, it reports every uncaught error automatically — Flutter framework errors, uncaught async (Dart) errors, and native crashes (Java/Kotlin, Swift/ObjC, background code). Native crashes are persisted by the native SDK and forwarded on the next launch. Manual capture is still available for handled errors.

View source

capture()

method
Future<void> capture(Object error, [StackTrace? stack, Map<String, Object?>? extra])

Report an error. handled = false marks an uncaught crash.

Parameters

Prop

Type

View source

install()

method
void install()

Install global handlers so all uncaught errors are reported, and drain any native crashes persisted from a previous run.

View source

On this page