Exercise - Error
Exercise
- Open the exercise on codesandbox.
- Create a new Observable
- Use the inner observer to emit the numbers 1, 2, and 3
- After emitting the numbers, use the observer to emit an error
- Subscribe to the observable, optionally providing handlers for
next
anderror