added custom exception for no territory
This commit is contained in:
@@ -11,3 +11,7 @@ class ForceChangePasswordException(WarrantException):
|
|||||||
|
|
||||||
class TokenVerificationException(WarrantException):
|
class TokenVerificationException(WarrantException):
|
||||||
"""Raised when token verification fails."""
|
"""Raised when token verification fails."""
|
||||||
|
|
||||||
|
|
||||||
|
class NoTerrytoryAvailableException(Exception):
|
||||||
|
"""Thrown when not possible to determine user territory"""
|
||||||
|
|||||||
Reference in New Issue
Block a user