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