Skip to content

Commit 232b9a8

Browse files
committed
reverting error type
1 parent db1b6cc commit 232b9a8

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

‎src/main/java/graphql/ErrorType.java‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,5 @@ public enum ErrorType implements ErrorClassification {
1111
DataFetchingException,
1212
NullValueInNonNullableField,
1313
OperationNotSupported,
14-
IntrospectionDisabled,
1514
ExecutionAborted
1615
}

‎src/main/java/graphql/introspection/IntrospectionDisabledError.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,6 @@ public List<SourceLocation> getLocations() {
3030

3131
@Override
3232
public ErrorClassification getErrorType() {
33-
return ErrorType.IntrospectionDisabled;
33+
return ErrorClassification.errorClassification("IntrospectionDisabled");
3434
}
3535
}

0 commit comments

Comments
 (0)