trackmania.api module

exception trackmania.api.ResponseCodeError(response: ClientResponse, response_json: Optional[dict] = None, response_text: str = '')[source]

Bases: ValueError

New in version 0.3.0.

Raised when a non-OK HTTP Response is received

Parameters
  • response (aiohttp.ClientResponse) – The response object

  • response_json (Dict) – The response json

  • response_text (str) – The response text