observableOfError

Returns an Observable that signals the specified error via onError.

Please refer to the corresponding RxJava document.