rx/operators/observable/catch.py
def catch_exception(source, second=None, handler=None) -> ObservableBase:
    """Continues an observable sequence that is terminated by an exception
    with the next observable sequence.

    1 - xs.catch_exception(ys)
    2 - xs.catch_exception(lambda ex: ys(ex))

    Keyword arguments:
    handler -- Exception handler function that returns an observable
        sequence  given the error that occurred in the first sequence.
    second -- Second observable sequence used to produce results when an
        error occurred in the first sequence.

    Returns an observable sequence containing the first sequence's
    elements, followed by the elements of the handler sequence in case an
    exception occurred.
    """

    if handler or not isinstance(second, typing.Observable):
        return catch_handler(source, handler or second)

    return Observable.catch_exception([source, second])
Continues an observable sequence that is terminated by an exception
    with the next observable sequence.

    1 - xs.catch_exception(ys)
    2 - xs.catch_exception(lambda ex: ys(ex))

    Keyword arguments:
    handler -- Exception handler function that returns an observable
        sequence  given the error that occurred in the first sequence.
    second -- Second observable sequence used to produce results when an
        error occurred in the first sequence.

    Returns an observable sequence containing the first sequence's
    elements, followed by the elements of the handler sequence in case an
    exception occurred.
    
Continues an observable sequence that is terminated by an exception
with the next observable sequence.



Keyword arguments:
handler -- Exception handler function that returns an observable
sequence  given the error that occurred in the first sequence.
second -- Second observable sequence used to produce results when an
error occurred in the first sequence.

Returns an observable sequence containing the first sequence's
elements, followed by the elements of the handler sequence in case an
exception occurred.
Continues an observable sequence that is terminated by an exception with the next observable sequence . Keyword arguments : handler -- Exception handler function that returns an observable sequence given the error that occurred in the first sequence . second -- Second observable sequence used to produce results when an error occurred in the first sequence . Returns an observable sequence containing the first sequence ' s elements followed by the elements of the handler sequence in case an exception occurred .
def catch_exception(source, second=None, handler=None) -> ObservableBase:
    if handler or not isinstance(second, typing.Observable):
        return catch_handler(source, handler or second)
    return Observable.catch_exception([source, second])
def catch_exception ( source , second = None , handler = None ) -> ObservableBase : if handler or not isinstance ( second , typing . Observable ) : return catch_handler ( source , handler or second ) return Observable . catch_exception ( [ source , second ] )
Continues an observable sequence that is terminated by an exception
with the next observable sequence.
Continues an observable sequence that is terminated by an exception with the next observable sequence .
"""Continues an observable sequence that is terminated by an exception
    with the next observable sequence.

    1 - xs.catch_exception(ys)
    2 - xs.catch_exception(lambda ex: ys(ex))

    Keyword arguments:
    handler -- Exception handler function that returns an observable
        sequence  given the error that occurred in the first sequence.
    second -- Second observable sequence used to produce results when an
        error occurred in the first sequence.

    Returns an observable sequence containing the first sequence's
    elements, followed by the elements of the handler sequence in case an
    exception occurred.
    """
source
second
handler