exceptions.api_exception module

exception exceptions.api_exception.APIException(reason, context)[source]

Bases: Exception

Class that handles HTTP Exceptions when fetching API Endpoints.

Attributes:

response_code (int): The status code of the response. context (HttpContext): The HttpContext of the API call.

exception exceptions.api_exception.ExpiredTokenException(reason, context)[source]

Bases: exceptions.api_exception.APIException