human
Complete the below
def error_response_app(error_code, message, debug_message=None, __warn=True):

    ''''An application that emits the given error response.
    **Note:** Deprecated'
    '''

=====
Can you provide a the Python program you requested?
assistant
#Here is the Python program you requested.
    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