vendor/dummy-deps/rx.js
function (ticks, error) {
    return typeof error === 'function' ?
      new Recorded(ticks, new OnErrorPredicate(error)) :
      new Recorded(ticks, Notification.createOnError(error));
  }
function (ticks, error) {
    return typeof error === 'function' ?
      new Recorded(ticks, new OnErrorPredicate(error)) :
      new Recorded(ticks, Notification.createOnError(error));
  }
function ( ticks , error ) { return typeof error === 'function' ? new Recorded ( ticks , new OnErrorPredicate ( error ) ) : new Recorded ( ticks , Notification . createOnError ( error ) ) ; }
Factory method for an OnError notification record at a given time with a given error.

1 - ReactiveTest.onNext(200, new Error('error'));
2 - ReactiveTest.onNext(200, function (e) { return e.message === 'error'; });

@param ticks Recorded virtual time the OnError notification occurs.
@param exception Recorded exception stored in the OnError notification.
@return Recorded OnError notification.
Factory method for an OnError notification record at a given time with a given error .