onErrorOccurred property

EventStream<OnErrorOccurredDetails> get onErrorOccurred

Fired when an error occurs.

Implementation

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