onError property

  1. @override
Stream<ErrorEvent> get onError
override

An event handler fired whenever an error event occurs in the associated service workers.

Implementation

@override
Stream<ErrorEvent> get onError => _onError ??=
    callbackToStream(_delegate, 'onerror', (Object j) => j as ErrorEvent);