Daniel Tschinder
0c984a83bb
Allow constructing GraphQLError with single node.
...
A common case is encountering an error which blames to a single AST node. Ensure the GraphQLError constructor can handle this case.
ref: graphql/graphql-js#1123
2018-02-11 21:18:54 +01:00
Daniel Tschinder
c4f11a577e
Allow to extend GraphQL errors with additional properties
...
ref: graphql/graphql-js#928
2018-02-10 18:45:38 +01:00
vladar
0ab55ec0d9
Replaced "AST" with "Node" in variable names for better readability
2016-11-19 06:47:55 +07:00
vladar
2675b65095
Moved all error-related classes to separate namespace; fixed related broken tests
2016-10-21 16:40:56 +07:00
vladar
a94640f9d2
Enabled GraphQL\Error to include path to failed value during execution step (not location in source query, but exact path to value, including index in array, etc) + tests for errors
2016-10-18 22:15:21 +07:00