rework fpl api
This commit is contained in:
13
custom_components/fpl/exceptions.py
Normal file
13
custom_components/fpl/exceptions.py
Normal file
@@ -0,0 +1,13 @@
|
||||
"""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."""
|
||||
Reference in New Issue
Block a user