Files
notifications-api/app/exceptions.py
Rebecca Law 0dc50190b2 Throw an exception whenever we updated a notification to technical failure.
If this is happening we want to know about it.
2018-03-16 17:18:44 +00:00

9 lines
218 B
Python

class DVLAException(Exception):
def __init__(self, message):
self.message = message
class NotificationTechnicalFailureException(Exception):
def __init__(self, message):
self.message = message