Throw an exception whenever we updated a notification to technical failure.

If this is happening we want to know about it.
This commit is contained in:
Rebecca Law
2018-03-16 17:18:44 +00:00
parent c9477a7400
commit 0dc50190b2
11 changed files with 65 additions and 30 deletions

View File

@@ -1,3 +1,8 @@
class DVLAException(Exception):
def __init__(self, message):
self.message = message
class NotificationTechnicalFailureException(Exception):
def __init__(self, message):
self.message = message