text: class CollectionException(Exception):
      def __init__(self, reason, message, **kwargs):
          super(CollectionException, self).__init__(kwargs)
          self.reason = reason
          self.message = message
  
      def __str__(self):
          return f"{self.__class__.__name__}: {self.reason}: {self.message}"