Package graphql.schema.idl.errors
Class TypeExtensionFieldRedefinitionError
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
graphql.GraphQLException
graphql.schema.idl.errors.BaseError
graphql.schema.idl.errors.TypeExtensionFieldRedefinitionError
- All Implemented Interfaces:
GraphQLError
,Serializable
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface graphql.GraphQLError
GraphQLError.Builder<B extends GraphQLError.Builder<B>>
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionTypeExtensionFieldRedefinitionError
(TypeDefinition typeDefinition, FieldDefinition fieldDefinition) TypeExtensionFieldRedefinitionError
(TypeDefinition typeDefinition, InputValueDefinition fieldDefinition) -
Method Summary
Modifier and TypeMethodDescriptionprivate static String
formatMessage
(TypeDefinition typeDefinition, String fieldName, AbstractNode<?> fieldDefinition) Methods inherited from class graphql.schema.idl.errors.BaseError
equals, getErrorType, getLocations, hashCode, lineCol, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface graphql.GraphQLError
getExtensions, getMessage, getPath, toSpecification
-
Constructor Details
-
TypeExtensionFieldRedefinitionError
public TypeExtensionFieldRedefinitionError(TypeDefinition typeDefinition, FieldDefinition fieldDefinition) -
TypeExtensionFieldRedefinitionError
public TypeExtensionFieldRedefinitionError(TypeDefinition typeDefinition, InputValueDefinition fieldDefinition)
-
-
Method Details
-
formatMessage
private static String formatMessage(TypeDefinition typeDefinition, String fieldName, AbstractNode<?> fieldDefinition)
-