RybbitErrorHandler class

Automatic error capture for Flutter/Dart errors.

Sets up FlutterError.onError for framework errors and PlatformDispatcher.instance.onError for uncaught async errors. Previous handlers are preserved and called after tracking.

Constructors

RybbitErrorHandler({required void onError(Object error, StackTrace? stackTrace)})

Properties

hashCode int
The hash code for this object.
no setterinherited
onError → void Function(Object error, StackTrace? stackTrace)
Callback invoked with (error, stackTrace) for each captured error.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

install() → void
Install error handlers. Safe to call multiple times.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
uninstall() → void
Uninstall error handlers, restoring previous handlers.

Operators

operator ==(Object other) bool
The equality operator.
inherited