onError property

Stream<GrovsError> get onError

Stream of asynchronous SDK errors on iOS.

The native iOS plugin buffers the latest 20 errors before a listener subscribes. Unknown error codes are ignored. Android emits no events.

Implementation

Stream<GrovsError> get onError {
  return GrovsPlatform.instance.onError;
}