Represents GraphQL errors that can be received. Implement this class to deserialize custom errors.
Wrapper class for error locations
Optional JsonObject holding the data on extensions that may be received
Optional field representing the locations of the error in the query. Is null if missing
The error message
Optional Path where the error occurred. Is null if missing