Exceptions

exception xbox.exceptions.XboxException

Base exception for all Xbox exceptions to subclass

exception xbox.exceptions.AuthenticationException

Raised when logging in fails, likely due to incorrect auth credentials

exception xbox.exceptions.InvalidRequest(message, response)

Something is wrong with the request

Variables:
  • message – Error message returned by server is possible
  • response – requests response object
exception xbox.exceptions.NotFoundException

Any exception raised due to a resource being missing will subclass this

exception xbox.exceptions.GamertagNotFound
exception xbox.exceptions.ClipNotFound