graphql.schema.idl.errors.DirectiveUnknownArgumentError Maven / Gradle / Ivy
package graphql.schema.idl.errors;
import graphql.Internal;
import graphql.language.Node;
import static java.lang.String.format;
@Internal
public class DirectiveUnknownArgumentError extends BaseError {
public DirectiveUnknownArgumentError(Node element, String elementName, String directiveName, String argumentName) {
super(element,
format("'%s' %s use an unknown argument '%s' on directive '%s'",
elementName, BaseError.lineCol(element), argumentName, directiveName
));
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy