capybara/virtualenv/lib/python2.7/site-packages/flask/app.py
def handle_url_build_error(self, error, endpoint, values):
        """Handle :class:`~werkzeug.routing.BuildError` on :meth:`url_for`.
        """
        exc_type, exc_value, tb = sys.exc_info()
        for handler in self.url_build_error_handlers:
            try:
                rv = handler(error, endpoint, values)
                if rv is not None:
                    return rv
            except BuildError as error:
                pass

        # At this point we want to reraise the exception.  If the error is
        # still the same one we can reraise it with the original traceback,
        # otherwise we raise it from here.
        if error is exc_value:
            reraise(exc_type, exc_value, tb)
        raise error
def handle_url_build_error(self, error, endpoint, values):
        """Handle :class:`~werkzeug.routing.BuildError` on :meth:`url_for`.
        """
        exc_type, exc_value, tb = sys.exc_info()
        for handler in self.url_build_error_handlers:
            try:
                rv = handler(error, endpoint, values)
                if rv is not None:
                    return rv
            except BuildError as error:
                pass

        # At this point we want to reraise the exception.  If the error is
        # still the same one we can reraise it with the original traceback,
        # otherwise we raise it from here.
        if error is exc_value:
            reraise(exc_type, exc_value, tb)
        raise error
def handle_url_build_error ( self , error , endpoint , values ) : exc_type , exc_value , tb = sys . exc_info ( ) for handler in self . url_build_error_handlers : try : rv = handler ( error , endpoint , values ) if rv is not None : return rv except BuildError as error : pass # At this point we want to reraise the exception.  If the error is # still the same one we can reraise it with the original traceback, # otherwise we raise it from here. if error is exc_value : reraise ( exc_type , exc_value , tb ) raise error
Handle :class:`~werkzeug.routing.BuildError` on :meth:`url_for`.
Handle : class : ~werkzeug . routing . BuildError on : meth : url_for .