Skip to content

exceptions

Camply: Common Exceptions

CamplyError #

Bases: Exception

Base Camply Error

Source code in camply/exceptions.py
6
7
8
9
class CamplyError(Exception):
    """
    Base Camply Error
    """

CampsiteNotFoundError #

Bases: SearchError

Campsite not found Error

Source code in camply/exceptions.py
class CampsiteNotFoundError(SearchError):
    """
    Campsite not found Error
    """

SearchError #

Bases: CamplyError

Generic Search Error

Source code in camply/exceptions.py
class SearchError(CamplyError):
    """
    Generic Search Error
    """