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 736c33a commit bdaaa0fCopy full SHA for bdaaa0f
spring-graphql/src/main/java/org/springframework/graphql/client/SubscriptionErrorException.java
@@ -21,6 +21,9 @@
21
import graphql.GraphQLError;
22
23
/**
24
+ * Exception that is sent as an error signal to a {@code Flux} returned from
25
+ * {@link GraphQlClient} or from its underlying {@link GraphQlTransport} for a
26
+ * GraphQL over WebSocket subscription that ends with an "error" message.
27
*
28
* @author Rossen Stoyanchev
29
* @since 1.0.0
@@ -37,6 +40,9 @@ public SubscriptionErrorException(List<GraphQLError> errors) {
37
40
}
38
41
39
42
43
+ /**
44
+ * Return the errors contained in the GraphQL over WebSocket "errors" message.
45
+ */
46
public List<GraphQLError> getErrors() {
47
return this.errors;
48
0 commit comments