mirror of
https://github.com/cpacker/MemGPT.git
synced 2025-06-03 04:30:22 +00:00
15 lines
460 B
Python
15 lines
460 B
Python
class NoResultFound(Exception):
|
|
"""A record or records cannot be found given the provided search params"""
|
|
|
|
|
|
class MalformedIdError(Exception):
|
|
"""An id not in the right format, most likely violating uuid4 format."""
|
|
|
|
|
|
class UniqueConstraintViolationError(ValueError):
|
|
"""Custom exception for unique constraint violations."""
|
|
|
|
|
|
class ForeignKeyConstraintViolationError(ValueError):
|
|
"""Custom exception for foreign key constraint violations."""
|