human
I wrote the below code

    if __warn:
        warnings.warn('wsgilib.error_response_app    is    deprecated.
   use    the    wsgi_application    method    on    an    HTTPException    object    instead', DeprecationWarning, 2)
    def application(environ, start_response):
        (status, headers, body) = error_response(environ, error_code, message, debug_message=debug_message, __warn=False)
        start_response(status, headers)
        return [body]
    return application

What's a good function header?

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

def error_response_app(error_code, message, debug_message=None, __warn=True):