human
I wrote the below code

    @wraps(function)
    def result(self, value):
        try:
            return function(self, value)
        except struct.error as e:
            raise ConversionError(e.args[0])
    return result

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

def raise_conversion_error(function):