@PublicApi public enum ErrorType extends java.lang.Enum<ErrorType> implements ErrorClassification
Enum Constant and Description |
---|
DataFetchingException |
ExecutionAborted |
InvalidSyntax |
NullValueInNonNullableField |
OperationNotSupported |
ValidationError |
Modifier and Type | Method and Description |
---|---|
static ErrorType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
toSpecification
public static final ErrorType InvalidSyntax
public static final ErrorType ValidationError
public static final ErrorType DataFetchingException
public static final ErrorType NullValueInNonNullableField
public static final ErrorType OperationNotSupported
public static final ErrorType ExecutionAborted
public static ErrorType[] values()
for (ErrorType c : ErrorType.values()) System.out.println(c);
public static ErrorType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null