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

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

The newest version!
package graphql.schema.idl.errors;

import graphql.Internal;
import graphql.language.TypeDefinition;

import static java.lang.String.format;

@Internal
public class TypeExtensionMissingBaseTypeError extends BaseError {

    public TypeExtensionMissingBaseTypeError(TypeDefinition typeExtensionDefinition) {
        super(typeExtensionDefinition,
                format("The extension '%s' type %s is missing its base underlying type",
                        typeExtensionDefinition.getName(), BaseError.lineCol(typeExtensionDefinition)
                ));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy