Prior to this commit, error handling methods would support various arguments, including the exception being handled. Our reference documentation would advise to create a new instance of a `GraphQLError` using `GraphQLError.newError()`. This does not initialize the location and path information of the current error. This commit allows error handling methods to get injected with a `GraphQlErrorBuilder<?>` argument that is initialized with the current `DataFetchingEnvironment` (thus filling the location and path parts). Fixes gh-1200
31 KiB
31 KiB