mirror of
https://github.com/GSA/notifications-api.git
synced 2025-12-16 02:02:13 -05:00
Added a new DAO function which archives email reply_to addresses by setting archived to True. This raises a new type of error, an ArchiveValidationError, if trying to archive a default reply_to address. Added a new endpoint for archiving email reply_to addresses.
13 lines
270 B
Python
13 lines
270 B
Python
class DVLAException(Exception):
|
|
def __init__(self, message):
|
|
self.message = message
|
|
|
|
|
|
class NotificationTechnicalFailureException(Exception):
|
|
def __init__(self, message):
|
|
self.message = message
|
|
|
|
|
|
class ArchiveValidationError(Exception):
|
|
pass
|