Update name

This commit is contained in:
zandercymatics 2024-02-28 10:00:13 -07:00
parent 820d6f3f58
commit 2ba62bf174
No known key found for this signature in database
GPG key ID: FF4636ABEC9682B7
3 changed files with 8 additions and 12 deletions

View file

@ -71,8 +71,6 @@ class GenericError(Exception):
return self._error_mapping.get(code)
# (Q for reviewers) What should this be called?
# Not a fan of this name.
class FSMErrorCodes(IntEnum):
"""Used when doing FSM transitions.
Overview of generic error codes:
@ -88,9 +86,7 @@ class FSMErrorCodes(IntEnum):
INVESTIGATOR_NOT_SUBMITTER = 4
# (Q for reviewers) What should this be called?
# Not a fan of this name.
class ApplicationStatusError(Exception):
class FSMApplicationError(Exception):
"""
Used to raise exceptions when doing FSM Transitions.
Uses `FSMErrorCodes` as an enum.