human
I wrote the below code

    def wrap(func):
        @functools.wraps(func)
        def wrapper(*args, **kwargs):
            try:
                ret = func(*args, **kwargs)
                return (SUCCESS if (ret is None) else ret)
            except exception.NotFound:
                options = args[0]
                print(('Cache    management    middleware    not    enabled    on    host    %s' % options.host))
                return FAILURE
            except exception.Forbidden:
                print('Not    authorized    to    make    this    request.')
                return FAILURE
            except Exception as e:
                options = args[0]
                if options.debug:
                    raise
                print(('Failed    to    %s.    Got    error:' % action))
                pieces = encodeutils.exception_to_unicode(e).split('\n')
                for piece in pieces:
                    print(piece)
                return FAILURE
        return wrapper
    return wrap

What's a good function header?

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

def catch_error(action):