packages/vaex-core/vaex/promise.py
def callAndReject(r):
            """
            A callback to be invoked if the "self promise"
            is rejected.
            """
            try:
                if aplus._isFunction(failure):
                    ret.fulfill(failure(r))
                else:
                    ret.reject(r)
            except Exception as e:
                Promise.last_exc_info = sys.exc_info()
                e.exc_info = sys.exc_info()
                ret.reject(e)

            A callback to be invoked if the "self promise"
            is rejected.
            
A callback to be invoked if the "self promise"
is rejected.
A callback to be invoked if the " self promise " is rejected .
def callAndReject(r):
            try:
                if aplus._isFunction(failure):
                    ret.fulfill(failure(r))
                else:
                    ret.reject(r)
            except Exception as e:
                Promise.last_exc_info = sys.exc_info()
                e.exc_info = sys.exc_info()
                ret.reject(e)
def callAndReject ( r ) : try : if aplus . _isFunction ( failure ) : ret . fulfill ( failure ( r ) ) else : ret . reject ( r ) except Exception as e : Promise . last_exc_info = sys . exc_info ( ) e . exc_info = sys . exc_info ( ) ret . reject ( e )
A callback to be invoked if the "self promise"
is rejected.
A callback to be invoked if the " self promise " is rejected .
"""
            A callback to be invoked if the "self promise"
            is rejected.
            """
r