code: def add_status_code(code):
      
  
      def class_decorator(cls):
          cls.status_code = code
          _sanic_exceptions[code] = cls
          return cls
  
      return class_decorator
docs: Decorator used for adding exceptions to :class:`SanicException`.