mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-09 06:32:11 -05:00
- Change the NotificationTechnicalFailureException so that it only inherits from Exception. - The notify_celery task should create the logging message on failure. - Fix unit tests - Remove named parameter when raising exception.
12 lines
215 B
Python
12 lines
215 B
Python
class DVLAException(Exception):
|
|
def __init__(self, message):
|
|
self.message = message
|
|
|
|
|
|
class NotificationTechnicalFailureException(Exception):
|
|
pass
|
|
|
|
|
|
class ArchiveValidationError(Exception):
|
|
pass
|