public class AbsoluteGraphQLError extends java.lang.Object implements GraphQLError
GraphQLError that has been changed from a DataFetcher relative error to an absolute one.| Constructor and Description |
|---|
AbsoluteGraphQLError(ExecutionStrategyParameters executionStrategyParameters,
GraphQLError relativeError) |
AbsoluteGraphQLError(MergedField sameField,
ExecutionPath executionPath,
GraphQLError relativeError) |
| Modifier and Type | Method and Description |
|---|---|
ErrorClassification |
getErrorType() |
java.util.Map<java.lang.String,java.lang.Object> |
getExtensions() |
java.util.List<SourceLocation> |
getLocations() |
java.lang.String |
getMessage() |
java.util.List<java.lang.Object> |
getPath()
The graphql spec says that the (optional) path field of any error should be a list
of path entries - http://facebook.github.io/graphql/#sec-Errors
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waittoSpecificationpublic AbsoluteGraphQLError(ExecutionStrategyParameters executionStrategyParameters, GraphQLError relativeError)
public AbsoluteGraphQLError(MergedField sameField, ExecutionPath executionPath, GraphQLError relativeError)
public java.lang.String getMessage()
getMessage in interface GraphQLErrorpublic java.util.List<SourceLocation> getLocations()
getLocations in interface GraphQLErrorSourceLocation
describes the beginning of an associated syntax elementpublic ErrorClassification getErrorType()
getErrorType in interface GraphQLErrorpublic java.util.List<java.lang.Object> getPath()
GraphQLErrorgetPath in interface GraphQLErrorpublic java.util.Map<java.lang.String,java.lang.Object> getExtensions()
getExtensions in interface GraphQLError