graphql.schema.idl.errors.InterfaceImplementingItselfError Maven / Gradle / Ivy
package graphql.schema.idl.errors;
import graphql.Internal;
import graphql.language.ImplementingTypeDefinition;
import static java.lang.String.format;
@Internal
public class InterfaceImplementingItselfError extends BaseError {
public InterfaceImplementingItselfError(String typeOfType, ImplementingTypeDefinition typeDefinition) {
super(typeDefinition, format("The %s type '%s' %s cannot implement itself",
typeOfType, typeDefinition.getName(), lineCol(typeDefinition)));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy