We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b977bef commit db78043Copy full SHA for db78043
spring-graphql/src/main/java/org/springframework/graphql/client/ResponseMapGraphQlResponse.java
@@ -177,7 +177,12 @@ public ErrorClassification getErrorType() {
177
return graphql.ErrorType.valueOf(classification);
178
}
179
catch (IllegalArgumentException ex) {
180
- return org.springframework.graphql.execution.ErrorType.valueOf(classification);
+ try {
181
+ return org.springframework.graphql.execution.ErrorType.valueOf(classification);
182
+ }
183
+ catch (IllegalArgumentException ex2) {
184
+ return ErrorClassification.errorClassification(classification);
185
186
187
188
0 commit comments