Skip to content

Commit

Permalink
Add LoginRetryError
Browse files Browse the repository at this point in the history
  • Loading branch information
iMicknl committed Jun 8, 2024
1 parent 4f16649 commit 5bd2c38
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sagemcom_api/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,6 +232,9 @@ async def __post(self, url, data):
if action_error_desc == XMO_MAX_SESSION_COUNT_ERR:
raise MaximumSessionCountException(action_error)

if action_error_desc == XMO_LOGIN_RETRY_ERR:
raise LoginRetryErrorException(action_error)

raise UnknownException(action_error)

return result
Expand Down

0 comments on commit 5bd2c38

Please sign in to comment.