Custom Exceptions¶
Special Exception subclasses
-
exception
xbox.webapi.common.exceptions.
XboxException
¶ Bases:
Exception
Base exception for all Xbox exceptions to subclass
-
exception
xbox.webapi.common.exceptions.
AuthenticationException
¶ Bases:
xbox.webapi.common.exceptions.XboxException
Raised when logging in fails, likely due to incorrect auth credentials
-
exception
xbox.webapi.common.exceptions.
TwoFactorAuthRequired
(message, server_data)¶
-
exception
xbox.webapi.common.exceptions.
InvalidRequest
(message, response)¶
-
exception
xbox.webapi.common.exceptions.
NotFoundException
¶ Bases:
xbox.webapi.common.exceptions.XboxException
Any exception raised due to a resource being missing will subclass this