Files
hass-fpl/custom_components/fpl/exceptions.py
Yordan Suarez a9d343f1f5 rework fpl api
2022-08-02 11:10:57 -04:00

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."""