## rejectedObservablePipe or rejected$$$ ```ts function rejectedObservablePipe( onRejected: IThenObservableOnRejected, ): IObservablePipe, IRejectedObservableOutNotifications> ``` With: ```ts export type IRejectedObservableFulfilledNotifications = INextNotification | ICompleteNotification; export type IRejectedObservableOutNotifications = GOut | IRejectedObservableFulfilledNotifications; ``` This function is similar to the method `.catch` of a Promise. It returns: ```ts thenObservablePipe>( singleWithNotifications, onRejected, ); ``` ### Example ```ts const subscribe = pipe$$(throwError(new Error(`Rejected`)), [ rejected$$$((error: any): IObservable> => { if (navigator.onLine) { return throwError(error); } else { return singleWithNotifications('Offline'); } }), ]); subscribe((notification) => { console.log(notification.name, notification.value); }); ``` Output (if browser is online): ```text 'error', Error(`Rejected`) ``` Output (if browser is offline): ```text 'next', 'Offline' 'complete', undefined ```