diff --git a/src/southern_company_api/exceptions.py b/src/southern_company_api/exceptions.py index a0e6ba8..39ba03a 100644 --- a/src/southern_company_api/exceptions.py +++ b/src/southern_company_api/exceptions.py @@ -1,26 +1,30 @@ -class InvalidLogin(Exception): +class SouthernCompanyException(Exception): pass -class CantReachSouthernCompany(Exception): +class InvalidLogin(SouthernCompanyException): pass -class NoRequestTokenFound(Exception): +class CantReachSouthernCompany(SouthernCompanyException): pass -class NoJwtTokenFound(Exception): +class NoRequestTokenFound(SouthernCompanyException): pass -class NoScTokenFound(Exception): +class NoJwtTokenFound(SouthernCompanyException): pass -class AccountFailure(Exception): +class NoScTokenFound(SouthernCompanyException): pass -class UsageDataFailure(Exception): +class AccountFailure(SouthernCompanyException): + pass + + +class UsageDataFailure(SouthernCompanyException): pass