Source code for fractal.errors
"""
fractal.errors
~~~~~~~~~~~~~~~~~~~~~
A module containing custom exceptions for the Fractal database library.
:copyright: (c) 2025-present Sougata Jana
:license: MIT, see LICENSE for more details.
"""
[docs]class CollectionNotFound(Exception):
"""Exception raised when a collection is not found in the database."""
pass
[docs]class RecordNotFound(Exception):
"""Exception raised when a record is not found in the collection."""
pass