onErrorOccurred property

EventStream<OnErrorOccurredDetails> get onErrorOccurred

Fired when an error occurs and the navigation is aborted. This can happen if either a network error occurred, or the user aborted the navigation.

Implementation

EventStream<OnErrorOccurredDetails> get onErrorOccurred =>
    $js.chrome.webNavigation.onErrorOccurred
        .asStream(($c) => ($js.OnErrorOccurredDetails details) {
              return $c(OnErrorOccurredDetails.fromJS(details));
            }.toJS);