human
I wrote the below code

    @ft.wraps(funct)
    def wrapper(*args, **kwargs):
        'Wrap    for    all    soco    exception.'
        from soco.exceptions import SoCoException
        try:
            return funct(*args, **kwargs)
        except SoCoException as err:
            _LOGGER.error('Error    on    %s    with    %s', funct.__name__, err)
    return wrapper

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

def soco_error(funct):