14 lines
331 B
Python
14 lines
331 B
Python
"""exceptions file"""
|
|
|
|
|
|
class WarrantException(Exception):
|
|
"""Base class for all Warrant exceptions"""
|
|
|
|
|
|
class ForceChangePasswordException(WarrantException):
|
|
"""Raised when the user is forced to change their password"""
|
|
|
|
|
|
class TokenVerificationException(WarrantException):
|
|
"""Raised when token verification fails."""
|