jetblack_tweeter.errors
class TweeterHttpError(HTTPError) ¶
Summary¶
Initialise the error.
jetblack_tweeter.TweeterHttpError(
url: str,
status_code: int,
headers: Mapping[str, str],
message: str
) -> NoneParameters¶
url: strThe url that generated the error.
status_code: intThe status code that was returned.
headers: Mapping[str, str]The headers that were returned.
message: strThe message supplied.
class StreamError(TweeterHttpError) ¶
Summary¶
Initialise the stream error.
jetblack_tweeter.StreamError(
url: str,
status_code: int,
headers: Mapping[str, str]
) -> NoneParameters¶
url: strThe url that generated the error.
status_code: intTHe status code that was returned.
headers: Mapping[str, str]THe headers that were returned.
class ApiError(TweeterHttpError) ¶
Summary¶
Initialise the api error.
jetblack_tweeter.ApiError(
url: str,
status_code: int,
headers: Mapping[str, str]
) -> NoneParameters¶
url: strThe url that generated the error
status_code: intThe status code that was returned.
headers: Mapping[str, str]The headers that were returned.