def METHOD_NAME(
    error: str,
    code: int,
    title=None,
    description="",
    auto_refresh=True,
    template="generic_html_error_standalone.jinja2",
):
    return (
        render_template(
            template,
            error=error,
            code=code,
            title=title,
            description=description,
            auto_refresh=auto_refresh,
            status=http.client.responses[code],
        ),
        code,
    )