Interface GraphQLExtensionCircularDependencyError
- All Superinterfaces:
GraphQLErrorObject
Returned when a circular reference is detected among Extension dependencies.
The message lists the id of each Extension in the detected cycle, starting and ending with the same Extension.
Example to create an instance using the builder pattern
GraphQLExtensionCircularDependencyError graphQLExtensionCircularDependencyError = GraphQLExtensionCircularDependencyError.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for GraphQLExtensionCircularDependencyError -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for GraphQLExtensionCircularDependencyErrorcreate builder for GraphQLExtensionCircularDependencyError instancecopyDeep()factory method to create a deep copy of GraphQLExtensionCircularDependencyError@NotNull StringgetCode()One of the error codes that is listed on the Errors page.of()factory methodof(GraphQLExtensionCircularDependencyError template) factory method to create a shallow copy GraphQLExtensionCircularDependencyErrorstatic tools.jackson.core.type.TypeReference<GraphQLExtensionCircularDependencyError>gives a TypeReference for usage with Jackson DataBinddefault <T> TwithGraphQLExtensionCircularDependencyError(Function<GraphQLExtensionCircularDependencyError, T> helper) accessor map functionMethods inherited from interface com.commercetools.api.models.error.GraphQLErrorObject
setValue, values, withGraphQLErrorObject
-
Field Details
-
EXTENSION_CIRCULAR_DEPENDENCY
discriminator value for GraphQLExtensionCircularDependencyError- 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 GraphQLExtensionCircularDependencyError
-
of
factory method to create a shallow copy GraphQLExtensionCircularDependencyError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
GraphQLExtensionCircularDependencyError copyDeep()- Specified by:
copyDeepin interfaceGraphQLErrorObject
-
deepCopy
@Nullable static GraphQLExtensionCircularDependencyError deepCopy(@Nullable GraphQLExtensionCircularDependencyError template) factory method to create a deep copy of GraphQLExtensionCircularDependencyError- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for GraphQLExtensionCircularDependencyError- Returns:
- builder
-
builder
static GraphQLExtensionCircularDependencyErrorBuilder builder(GraphQLExtensionCircularDependencyError template) create builder for GraphQLExtensionCircularDependencyError instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withGraphQLExtensionCircularDependencyError
default <T> T withGraphQLExtensionCircularDependencyError(Function<GraphQLExtensionCircularDependencyError, T> helper) accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static tools.jackson.core.type.TypeReference<GraphQLExtensionCircularDependencyError> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-