All Downloads are FREE. Search and download functionalities are using the official Maven repository.

graphql.schema.idl.errors.NonSDLDefinitionError Maven / Gradle / Ivy

There is a newer version: 230521-nf-execution
Show newest version
package graphql.schema.idl.errors;

import graphql.Internal;
import graphql.language.Definition;

import static java.lang.String.format;

@Internal
public class NonSDLDefinitionError extends BaseError {

    public NonSDLDefinitionError(Definition definition) {
        super(definition, format("%s The schema definition text contains a non schema definition language (SDL) element '%s'",
                lineCol(definition), definition.getClass().getSimpleName()));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy