class OfferNotFoundForUserException(Exception):
    """Exception raised when an offer is not found for a user."""

    def __init__(self, message="Offer not found in user file."):
        self.message = message
        super().__init__(self.message)

class MatchingContentNotFoundException(Exception):
    """Exception raised when no matching content is found."""

    def __init__(self, message="No stories were found containing the required tag."):
        self.message = message
        super().__init__(self.message)
