Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 359 Bytes

errors.md

File metadata and controls

28 lines (19 loc) · 359 Bytes

Errors Operator

Overview

Return all the errors thrown by an Observable.

This method is blocking.

Example

errs := rxgo.Just(
	errors.New("foo"),
	errors.New("bar"),
	errors.New("baz"),
)().Errors(rxgo.WithErrorStrategy(rxgo.Continue))
fmt.Println(errs)

Output:

[foo bar baz]

Options