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.
Constructors
- NexusErrors(NexusOutbox _outbox, NexusIdentity _id, NexusConfig _cfg)
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
capture(
Object error, [StackTrace? stack, Map< String, Object?> ? extra]) → Future<void> -
Report an error.
handled= false marks an uncaught crash. -
install(
) → void - Install global handlers so all uncaught errors are reported, and drain any native crashes persisted from a previous run.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited