Skip to content

Exceptions

Marcus Klemm edited this page Aug 8, 2018 · 5 revisions

GraphitError

In case the operation returns any of the 4xx or 5xx HTTP status codes and contains an error message from GraphIT, a graphit.GraphitError Exception will be raised. If no error message can be decoded, the original requests.exceptions.HTTPError will be raised.

It has the following properties:

  • session: The GraphitSession where the Exception was raised.
  • status_code: The HTTP status code that was returned.
  • message: A str containing the error message GraphIT returned in its answer.

WSO2Error

tbd