human
I wrote the below code

    def class_decorator(cls):
        cls.status_code = code
        _sanic_exceptions[code] = cls
        return cls
    return class_decorator

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

def add_status_code(code):