throwIfEmpty
If the source observable completes without emitting a value, it will emit
an error. The error will be created at that time by the optional
errorFactory argument, otherwise, the error will be EmptyError.
Description

If the source observable completes without emitting a value, it will emit
an error. The error will be created at that time by the optional
errorFactory argument, otherwise, the error will be EmptyError.
