-
Notifications
You must be signed in to change notification settings - Fork 4
Exceptions
Marcus Klemm edited this page Aug 8, 2018
·
5 revisions
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
: TheGraphitSession
where the Exception was raised. -
status_code
: The HTTP status code that was returned. -
message
: Astr
containing the error message GraphIT returned in its answer.
tbd