Files
notifications-api/app/notifications/__init__.py

8 lines
155 B
Python

class SendNotificationToQueueError(Exception):
status_code = 500
def __init__(self):
self.message = "Failed to create the notification"