<filename>resources/exceptions.py
#exceptions.py
"""Contains custom exceptions"""


class NoDataFoundError(Exception):
    """Custom exception for when no data is returned from the database"""
    pass
<filename>resources/exceptions.py
#exceptions.py
"""Contains custom exceptions"""


class NoDataFoundError(Exception):
    """Custom exception for when no data is returned from the database"""
    pass
#exceptions.py Contains custom exceptions Custom exception for when no data is returned from the database