added custom exception for no territory

This commit is contained in:
Yordan Suarez
2022-12-06 11:57:03 -05:00
parent 2ae6a1c929
commit 6c337e3c17

View File

@@ -11,3 +11,7 @@ class ForceChangePasswordException(WarrantException):
class TokenVerificationException(WarrantException):
"""Raised when token verification fails."""
class NoTerrytoryAvailableException(Exception):
"""Thrown when not possible to determine user territory"""