Skip to content

Latest commit

 

History

History
24 lines (15 loc) · 271 Bytes

error.md

File metadata and controls

24 lines (15 loc) · 271 Bytes

Error Operator

Overview

Return the first error thrown by an Observable.

This method is blocking.

Example

err := rxgo.Just(1, 2, errors.New("foo"))().Error()
fmt.Println(err)

Output:

foo

Options