-
Notifications
You must be signed in to change notification settings - Fork 186
Closed
Labels
type: documentationAn issue or pull request for improving or updating the documentationAn issue or pull request for improving or updating the documentation
Description
Hello!
Is there any documentation about error handling?
try:
client.execute(query, variable_values=params)
except:
pass
I want to catch the error of when the GraphQL endpoint returns the error code 400 - 403, and NOT an error related to the incorrect schema, for example.
I would know what NameError I should assign to except block to be able to print error messages in a friendly way to the user.
roeeyn, benefacto and qvp
Metadata
Metadata
Assignees
Labels
type: documentationAn issue or pull request for improving or updating the documentationAn issue or pull request for improving or updating the documentation