Throw Method (Object)

RxJS

Returns an observable sequence that terminates with an exception.

Namespace:  Rx
Assembly:  RxJS (in RxJS.dll)

Syntax

JavaScript
Rx.Observable.Throw = function(exception);

Parameters

exception
Type: System..::.Object

See Also