@PublicApi public interface GraphQLError
Modifier and Type | Method and Description |
---|---|
ErrorType |
getErrorType() |
default java.util.Map<java.lang.String,java.lang.Object> |
getExtensions() |
java.util.List<SourceLocation> |
getLocations() |
java.lang.String |
getMessage() |
default 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
|
default java.util.Map<java.lang.String,java.lang.Object> |
toSpecification()
The graphql specification says that result of a call should be a map that follows certain rules on what items
should be present.
|
java.lang.String getMessage()
java.util.List<SourceLocation> getLocations()
SourceLocation
describes the beginning of an associated syntax elementErrorType getErrorType()
default java.util.List<java.lang.Object> getPath()
default java.util.Map<java.lang.String,java.lang.Object> toSpecification()
default java.util.Map<java.lang.String,java.lang.Object> getExtensions()