Uses of Interface
org.springframework.graphql.ResponseError
Package
Description
Top level abstractions for processing GraphQL requests.
This package contains a
GraphQlClient
along with HTTP and WebSocket extensions.Support classes for Spring GraphQL.
GraphQL client testing support.
-
Uses of ResponseError in org.springframework.graphql
-
Uses of ResponseError in org.springframework.graphql.client
Modifier and TypeMethodDescriptionSubscriptionErrorException.getErrors()
Return the errors contained in the GraphQL over WebSocket "errors" message.ModifierConstructorDescriptionSubscriptionErrorException
(GraphQlRequest request, List<ResponseError> errors) Constructor with the request details and the errors listed in the payload of the"errors"
message. -
Uses of ResponseError in org.springframework.graphql.support
-
Uses of ResponseError in org.springframework.graphql.test.tester
Modifier and TypeMethodDescriptionAbstractGraphQlTesterBuilder.errorFilter
(Predicate<ResponseError> predicate) GraphQlTester.Builder.errorFilter
(Predicate<ResponseError> predicate) Configure a globalfilter
that applies to all requests.GraphQlTester.Errors.expect
(Predicate<ResponseError> errorPredicate) Use this to declare errors that are expected.GraphQlTester.Errors.filter
(Predicate<ResponseError> errorPredicate) Use this to filter out errors that are expected and can be ignored.GraphQlTester.Errors.satisfy
(Consumer<List<ResponseError>> errorsConsumer) Inspect errors in the response, if any.