public class DefaultGraphQLError
extends org.jfantasy.framework.error.ErrorResponse
implements graphql.GraphQLError
| Constructor and Description |
|---|
DefaultGraphQLError(graphql.kickstart.spring.error.ErrorContext errorContext) |
| Modifier and Type | Method and Description |
|---|---|
graphql.ErrorClassification |
getErrorType() |
java.util.List<graphql.language.SourceLocation> |
getLocations() |
java.util.List<java.lang.Object> |
getPath() |
void |
setPath(java.util.List<java.lang.Object> path) |
java.util.Map<java.lang.String,java.lang.Object> |
toSpecification() |
addData, addFieldError, canEqual, equals, getCode, getData, getError, getException, getFields, getMessage, getTimestamp, hashCode, setCode, setData, setError, setException, setFields, setMessage, setTimestamp, toStringpublic DefaultGraphQLError(graphql.kickstart.spring.error.ErrorContext errorContext)
public java.util.List<graphql.language.SourceLocation> getLocations()
getLocations in interface graphql.GraphQLErrorpublic void setPath(java.util.List<java.lang.Object> path)
public java.util.List<java.lang.Object> getPath()
getPath in interface graphql.GraphQLErrorpublic java.util.Map<java.lang.String,java.lang.Object> toSpecification()
toSpecification in interface graphql.GraphQLErrorpublic graphql.ErrorClassification getErrorType()
getErrorType in interface graphql.GraphQLError