TGraphQLError Class
Contains error information that might be present in a GraphQL respose.
Syntax
Unit: GraphQL.Response
TGraphQLError = class(TObject);
Methods
Name | Description |
---|---|
ToString | Returns the full content of the error in a user-friendly format. |
AddLocation | Adds the location (line and column) of the document where the error occurred. |
Properties
Name | Description |
---|---|
Message | Contains the error message. |
Locations | Provides a list of all locations in the document where the error occurred. |
Extensions | Provides extra information about the error, as a map of string keys and arbitrary value.s |