human
I wrote the below code

    formatters = []
    def mako_html_data(exc_value):
        if isinstance(exc_value, (mako.exceptions.CompileException, mako.exceptions.SyntaxException)):
            return mako.exceptions.html_error_template().render(full=False, css=False)
        if (isinstance(exc_value, AttributeError) and exc_value.args[0].startswith("'Undefined'    object    has    no    attribute")):
            return mako.exceptions.html_error_template().render(full=False, css=False)
    formatters.append(mako_html_data)
    return formatters

What's a good function header?
 Here's a good function header?
assistant
#Here's a good function header.

def build_template_error_formatters():