@PublicApi public class NonNullableValueCoercedAsNullException extends GraphQLException implements GraphQLError
GraphQLError.Builder<B extends GraphQLError.Builder<B>>| Modifier and Type | Method and Description |
|---|---|
ErrorType |
getErrorType() |
java.util.List<SourceLocation> |
getLocations() |
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 https://spec.graphql.org/October2021/#sec-Handling-Field-Errors
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetExtensions, getMessage, newError, toSpecificationpublic NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition, GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition, java.lang.String fieldName, GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition, java.lang.String fieldName, java.util.List<java.lang.Object> path, GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(VariableDefinition variableDefinition, java.lang.String causeMessage)
public NonNullableValueCoercedAsNullException(java.lang.String fieldName,
java.util.List<java.lang.Object> path,
GraphQLType graphQLType)
public NonNullableValueCoercedAsNullException(GraphQLInputObjectField inputTypeField)
public NonNullableValueCoercedAsNullException(GraphQLInputObjectField inputTypeField, java.util.List<java.lang.Object> path)
public NonNullableValueCoercedAsNullException(GraphQLArgument graphQLArgument)
public java.util.List<SourceLocation> getLocations()
getLocations in interface GraphQLErrorSourceLocation
describes the beginning of an associated syntax elementpublic java.util.List<java.lang.Object> getPath()
GraphQLErrorgetPath in interface GraphQLErrorpublic ErrorType getErrorType()
getErrorType in interface GraphQLError