19 lines
476 B
Python
19 lines
476 B
Python
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."""
|
|
|
|
|
|
class NoResultsFound(Exception):
|
|
"""Raised when no results are found for the given location"""
|
|
|
|
|
|
class GeoCoordsNotFound(Exception):
|
|
"""Raised when no property is found for the given address"""
|
|
|
|
|
|
class SearchTooBroad(Exception):
|
|
"""Raised when the search is too broad"""
|