Interface GraphQLPendingOperationError
- All Superinterfaces:
GraphQLErrorObject
Returned when a previous conflicting operation is still pending and needs to finish before the request can succeed.
The client application should retry the request with exponential backoff up to a point where further delay is unacceptable. If the error persists, report it to the Composable Commerce support team.
Example to create an instance using the builder pattern
GraphQLPendingOperationError graphQLPendingOperationError = GraphQLPendingOperationError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLPendingOperationError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLPendingOperationErrorbuilder(GraphQLPendingOperationError template) create builder for GraphQLPendingOperationError instancecopyDeep()static GraphQLPendingOperationErrordeepCopy(GraphQLPendingOperationError template) factory method to create a deep copy of GraphQLPendingOperationError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.static GraphQLPendingOperationErrorof()factory methodstatic GraphQLPendingOperationErrorof(GraphQLPendingOperationError template) factory method to create a shallow copy GraphQLPendingOperationErrorstatic com.fasterxml.jackson.core.type.TypeReference<GraphQLPendingOperationError>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
PENDING_OPERATION
discriminator value for GraphQLPendingOperationError- See Also:
-
-
Method Details
-
getCode
Description copied from interface:GraphQLErrorObjectOne of the error codes that is listed on the Errors page.
- Specified by:
getCodein interfaceGraphQLErrorObject- Returns:
- code
-
of
factory method- Returns:
- instance of GraphQLPendingOperationError
-
of
factory method to create a shallow copy GraphQLPendingOperationError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLPendingOperationError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLPendingOperationError deepCopy(@Nullable GraphQLPendingOperationError template) factory method to create a deep copy of GraphQLPendingOperationError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLPendingOperationError- Returns:
- builder
-
builder
create builder for GraphQLPendingOperationError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLPendingOperationError
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-