Files
marketscrape-web/scraper/exceptions.py
2023-04-24 23:35:23 -07:00

12 lines
372 B
Python

class NoProductsFound(Exception):
"""Raised when no products matching the given criteria are found."""
pass
class InvalidSimilarityThreshold(Exception):
"""Raised when an invalid similarity threshold is provided."""
pass
class InvalidDataFormat(Exception):
"""Raised when the data format is invalid or does not match the expected format."""
pass