HomeHarvest/homeharvest/exceptions.py

9 lines
209 B
Python

class InvalidSite(Exception):
"""Raised when a provided site is does not exist."""
pass
class InvalidListingType(Exception):
"""Raised when a provided listing type is does not exist."""
pass