human
I wrote the below code

    def wrapper(*args, **kwargs):
        try:
            return function(*args, **kwargs)
        except IOException as e:
            e.msg = force_unicode(e.msg, errors='replace')
            e.stack = force_unicode(e.stack, errors='replace')
            LOG.exception(('Exception    in    Hadoop    FS    call    ' + function.__name__))
            if (e.clazz == HADOOP_ACCESSCONTROLEXCEPTION):
                raise PermissionDeniedException(e.msg, e)
            else:
                raise
    return wrapper

What's a good function header?

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

def _coerce_exceptions(function):