public class DirectiveIllegalArgumentTypeError extends GraphQLException
Modifier and Type | Field and Description |
---|---|
static String |
DUPLICATED_KEYS_MESSAGE |
static String |
EXPECTED_ENUM_MESSAGE |
static String |
EXPECTED_LIST_MESSAGE |
static String |
EXPECTED_NON_NULL_MESSAGE |
static String |
EXPECTED_OBJECT_MESSAGE |
static String |
EXPECTED_SCALAR_MESSAGE |
static String |
MISSING_REQUIRED_FIELD_MESSAGE |
static String |
MUST_BE_VALID_ENUM_VALUE_MESSAGE |
protected static SourceLocation |
NO_WHERE |
static String |
NOT_A_VALID_SCALAR_LITERAL_MESSAGE |
static String |
UNKNOWN_FIELDS_MESSAGE |
Constructor and Description |
---|
DirectiveIllegalArgumentTypeError(Node element,
String elementName,
String directiveName,
String argumentName,
String detailedMessaged) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
ErrorType |
getErrorType() |
List<SourceLocation> |
getLocations() |
int |
hashCode() |
static String |
lineCol(Node node) |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
getExtensions, getMessage, getPath, toSpecification
public static final String DUPLICATED_KEYS_MESSAGE
public static final String UNKNOWN_FIELDS_MESSAGE
public static final String EXPECTED_ENUM_MESSAGE
public static final String MUST_BE_VALID_ENUM_VALUE_MESSAGE
public static final String EXPECTED_SCALAR_MESSAGE
public static final String NOT_A_VALID_SCALAR_LITERAL_MESSAGE
public static final String MISSING_REQUIRED_FIELD_MESSAGE
public static final String EXPECTED_NON_NULL_MESSAGE
public static final String EXPECTED_LIST_MESSAGE
public static final String EXPECTED_OBJECT_MESSAGE
protected static final SourceLocation NO_WHERE
public List<SourceLocation> getLocations()
getLocations
in interface GraphQLError
SourceLocation
describes the beginning of an associated syntax elementpublic ErrorType getErrorType()
getErrorType
in interface GraphQLError
Copyright © 2019. All rights reserved.