human
Complete the below
def add_status_code(code):

    ''''Decorator used for adding exceptions to _sanic_exceptions.'
    '''

=====
What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    def class_decorator(cls):
        cls.status_code = code
        _sanic_exceptions[code] = cls
        return cls
    return class_decorator