Mobilizon-Reshare-condividi.../mobilizon_reshare/storage/query/exceptions.py

7 lines
181 B
Python

class EventNotFound(Exception):
"""Event is not present in the database"""
class DuplicateEvent(ValueError):
"""A duplicate mobilizon_id has been found in the database"""