HomeHarvest/homeharvest/exceptions.py

19 lines
476 B
Python
Raw Normal View History

2023-09-15 15:17:37 -07:00
class InvalidSite(Exception):
"""Raised when a provided site is does not exist."""
class InvalidListingType(Exception):
"""Raised when a provided listing type is does not exist."""
2023-09-17 13:06:31 -07:00
class NoResultsFound(Exception):
"""Raised when no results are found for the given location"""
2023-09-18 17:35:38 -07:00
class GeoCoordsNotFound(Exception):
2023-09-18 11:38:17 -07:00
"""Raised when no property is found for the given address"""
class SearchTooBroad(Exception):
"""Raised when the search is too broad"""