def _error_traceback_html(exc_info, traceback_):
    """
    Generates error traceback HTML.

    :param tuple exc_info:
        Output of :func:`sys.exc_info` function.

    :param traceback:
        Output of :func:`traceback.format_exc` function.

    """

    html = """
    <html>
        <head>
            <title>ERROR: {error}</title>
        </head>
        <body style="font-family: sans-serif">
            <h4>The Authomatic library encountered an error!</h4>
            <h1>{error}</h1>
            <pre>{traceback}</pre>
        </body>
    </html>
    """

    return html.format(error=exc_info[1], traceback=traceback_)
def _error_traceback_html(exc_info, traceback_):
    """
    Generates error traceback HTML.

    :param tuple exc_info:
        Output of :func:`sys.exc_info` function.

    :param traceback:
        Output of :func:`traceback.format_exc` function.

    """

    html = """
    <html>
        <head>
            <title>ERROR: {error}</title>
        </head>
        <body style="font-family: sans-serif">
            <h4>The Authomatic library encountered an error!</h4>
            <h1>{error}</h1>
            <pre>{traceback}</pre>
        </body>
    </html>
    """

    return html.format(error=exc_info[1], traceback=traceback_)
def _error_traceback_html ( exc_info , traceback_ ) : html = """
    <html>
        <head>
            <title>ERROR: {error}</title>
        </head>
        <body style="font-family: sans-serif">
            <h4>The Authomatic library encountered an error!</h4>
            <h1>{error}</h1>
            <pre>{traceback}</pre>
        </body>
    </html>
    """ return html . format ( error = exc_info [ 1 ] , traceback = traceback_ )
Generates error traceback HTML.

    :param tuple exc_info:
        Output of :func:`sys.exc_info` function.

    :param traceback:
        Output of :func:`traceback.format_exc` function.
Generates error traceback HTML .