Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

observable_throw

crates.io ci codecov license

Immediately errors.

See Also

Example

cargo run -p rx_core --example observable_throw_example
let _subscription = throw("hello").subscribe(PrintObserver::new("throw_example"));

Output:

throw_example - error: "hello"